UNPKG

@grafana/ui

Version:
12 lines (11 loc) 349 B
import { GrafanaThemeType } from '@grafana/data'; /** * @deprecated */ export type VariantDescriptor = { [key in GrafanaThemeType]: string | number; }; /** * @deprecated use theme.isLight ? or theme.isDark instead */ export declare const selectThemeVariant: (variants: VariantDescriptor, currentTheme?: GrafanaThemeType) => string | number;