API Reference@grafana/uiuseTheme

useTheme() function

useTheme() function

Signature

export declare function useTheme(): GrafanaTheme;

Import

import { useTheme } from '@grafana/ui';

Returns:

GrafanaTheme