From 61b5471ed84bf2f925debc9a786f6ec643092812 Mon Sep 17 00:00:00 2001 From: Lukas Siatka Date: Mon, 27 Jan 2020 03:59:28 +0000 Subject: [PATCH] Explore: adds export of MetaItem and its props --- public/app/features/explore/MetaInfoText.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/explore/MetaInfoText.tsx b/public/app/features/explore/MetaInfoText.tsx index 0256373e2c5..34c8dcb9e8d 100644 --- a/public/app/features/explore/MetaInfoText.tsx +++ b/public/app/features/explore/MetaInfoText.tsx @@ -26,12 +26,12 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => ({ `, })); -interface MetaItemProps { +export interface MetaItemProps { label?: string; value: string; } -const MetaInfoItem = memo(function MetaInfoItem(props: MetaItemProps) { +export const MetaInfoItem = memo(function MetaInfoItem(props: MetaItemProps) { const theme = useContext(ThemeContext); const style = getStyles(theme); const { label, value } = props;