mirror of
https://github.com/grafana/grafana.git
synced 2026-02-18 18:20:52 -05:00
TableNG: Export MaybeWrapWithLink from @grafana/ui/internal (#118406)
chore: export MaybeWrapWithLink from @grafana/ui/internal
This commit is contained in:
parent
bc391397bb
commit
e297d51f03
2 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue