+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "mockTheme"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## mockTheme variable
### mockTheme variable
Signature
```typescript
mockTheme: (mock: (name?: string | undefined) => GrafanaTheme) => () => void
```
Import
```typescript
import { mockTheme } from '@grafana/ui';
```