Explore: adds export of MetaItem and its props

This commit is contained in:
Lukas Siatka 2020-01-27 03:59:28 +00:00 committed by Lukas Siatka
parent 865a8dd355
commit 61b5471ed8

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;