+++
# -----------------------------------------------------------------------
# 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

<b>Signature</b>

```typescript
mockTheme: (mock: (name?: string | undefined) => GrafanaTheme) => () => void
```
<b>Import</b>

```typescript
import { mockTheme } from '@grafana/ui';
```
