withTheme variable

withTheme variable

Signature

  1. withTheme: <P extends Themeable, S extends {} = {}>(Component: React.ComponentType<P>) => React.FunctionComponent<Subtract<P, Themeable>> & S

Import

  1. import { withTheme } from '@grafana/ui';