Explore: adds export of MetaItem and its props

This commit is contained in:
Lukas Siatka
2020-01-30 12:02:50 +00:00
committed by Lukas Siatka
parent 865a8dd355
commit 61b5471ed8
+2 -2
View File
@@ -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;