API Reference@grafana/ui › useTheme

useTheme() function

useTheme() function

Signature

export declare function useTheme(): GrafanaTheme;

Import

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

Returns:

GrafanaTheme