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

API Reference@grafana/uimockThemeContext

mockThemeContext variable

mockThemeContext variable

Signature

mockThemeContext: (theme: Partial<GrafanaTheme2>) => () => void

Import

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