This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiThemeContext

ThemeContext variable

ThemeContext variable

Signature

ThemeContext: React.Context<GrafanaTheme2>

Import

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