Commit 61b5471e by Lukas Siatka Committed by Lukas Siatka

Explore: adds export of MetaItem and its props

parent 865a8dd3
...@@ -26,12 +26,12 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => ({ ...@@ -26,12 +26,12 @@ const getStyles = stylesFactory((theme: GrafanaTheme) => ({
`, `,
})); }));
interface MetaItemProps { export interface MetaItemProps {
label?: string; label?: string;
value: string; value: string;
} }
const MetaInfoItem = memo(function MetaInfoItem(props: MetaItemProps) { export const MetaInfoItem = memo(function MetaInfoItem(props: MetaItemProps) {
const theme = useContext(ThemeContext); const theme = useContext(ThemeContext);
const style = getStyles(theme); const style = getStyles(theme);
const { label, value } = props; const { label, value } = props;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment