mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
26 lines
628 B
Markdown
26 lines
628 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "mockThemeContext"
|
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## mockThemeContext variable
|
|
|
|
### mockThemeContext variable
|
|
|
|
Enables theme context mocking
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
mockThemeContext: (theme: Partial<GrafanaTheme>) => () => void
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { mockThemeContext } from '@grafana/ui';
|
|
```
|