grafana_bak/public/app/features/explore/Logs/LogsTableEmptyFields.tsx
2025-04-01 10:38:02 +09:00

21 lines
496 B
TypeScript

import { css } from '@emotion/css';
import { GrafanaTheme2 } from '@grafana/data';
import { useTheme2 } from '@grafana/ui';
function getStyles(theme: GrafanaTheme2) {
return {
empty: css({
marginBottom: theme.spacing(2),
marginLeft: theme.spacing(1.75),
fontSize: theme.typography.fontSize,
}),
};
}
export function LogsTableEmptyFields() {
const theme = useTheme2();
const styles = getStyles(theme);
return <div className={styles.empty}>No fields</div>;
}