mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: adds export of MetaItem and its props
This commit is contained in:
parent
865a8dd355
commit
61b5471ed8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user