TableNG: Export MaybeWrapWithLink from @grafana/ui/internal (#118406)

chore: export MaybeWrapWithLink from @grafana/ui/internal
This commit is contained in:
Galen Kistler 2026-02-18 11:39:29 -06:00 committed by GitHub
parent bc391397bb
commit e297d51f03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,9 @@ interface MaybeWrapWithLinkProps {
children: ReactNode;
}
/**
* @internal
*/
export const MaybeWrapWithLink = memo(({ field, rowIdx, children }: MaybeWrapWithLinkProps): ReactNode => {
const linksCount = field.config.links?.length ?? 0;
const actionsCount = field.config.actions?.length ?? 0;

View file

@ -109,3 +109,5 @@ export { closePopover } from '../utils/closePopover';
export { flattenTokens } from '../slate-plugins/slate-prism';
export { RadialGauge } from '../components/RadialGauge/RadialGauge';
export { MaybeWrapWithLink } from '../components/Table/TableNG/components/MaybeWrapWithLink';