GrafanaUI: Expose data links context types externally (#55905)
This commit is contained in:
@@ -9,7 +9,7 @@ import { WithContextMenu } from '../ContextMenu/WithContextMenu';
|
|||||||
import { MenuGroup, MenuItemsGroup } from '../Menu/MenuGroup';
|
import { MenuGroup, MenuItemsGroup } from '../Menu/MenuGroup';
|
||||||
import { MenuItem } from '../Menu/MenuItem';
|
import { MenuItem } from '../Menu/MenuItem';
|
||||||
|
|
||||||
interface DataLinksContextMenuProps {
|
export interface DataLinksContextMenuProps {
|
||||||
children: (props: DataLinksContextMenuApi) => JSX.Element;
|
children: (props: DataLinksContextMenuApi) => JSX.Element;
|
||||||
links: () => LinkModel[];
|
links: () => LinkModel[];
|
||||||
style?: CSSProperties;
|
style?: CSSProperties;
|
||||||
|
|||||||
@@ -156,7 +156,11 @@ export { MenuItem, type MenuItemProps } from './Menu/MenuItem';
|
|||||||
export { WithContextMenu } from './ContextMenu/WithContextMenu';
|
export { WithContextMenu } from './ContextMenu/WithContextMenu';
|
||||||
export { DataLinksInlineEditor } from './DataLinks/DataLinksInlineEditor/DataLinksInlineEditor';
|
export { DataLinksInlineEditor } from './DataLinks/DataLinksInlineEditor/DataLinksInlineEditor';
|
||||||
export { DataLinkInput } from './DataLinks/DataLinkInput';
|
export { DataLinkInput } from './DataLinks/DataLinkInput';
|
||||||
export { DataLinksContextMenu } from './DataLinks/DataLinksContextMenu';
|
export {
|
||||||
|
DataLinksContextMenu,
|
||||||
|
type DataLinksContextMenuProps,
|
||||||
|
type DataLinksContextMenuApi,
|
||||||
|
} from './DataLinks/DataLinksContextMenu';
|
||||||
export { SeriesIcon } from './VizLegend/SeriesIcon';
|
export { SeriesIcon } from './VizLegend/SeriesIcon';
|
||||||
export { InfoBox } from './InfoBox/InfoBox';
|
export { InfoBox } from './InfoBox/InfoBox';
|
||||||
export { FeatureBadge, FeatureInfoBox } from './InfoBox/FeatureInfoBox';
|
export { FeatureBadge, FeatureInfoBox } from './InfoBox/FeatureInfoBox';
|
||||||
|
|||||||
Reference in New Issue
Block a user