API Reference@grafana/ui › useStyles

useStyles variable

useStyles variable

Hook for using memoized styles with access to the theme.

Signature

useStyles: (getStyles: (theme?: GrafanaTheme | undefined) => any) => any

Import

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