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

API Reference@grafana/uigetFocusStyles

styleMixins.getFocusStyles() function

styleMixins.getFocusStyles() function

Signature

export declare function getFocusStyles(theme: GrafanaTheme2): CSSObject;

Import

import { styleMixins } from '@grafana/ui';
const { getFocusStyles } = styleMixins;

Parameters

Parameter Type Description
theme GrafanaTheme2

Returns:

CSSObject