Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

UnitPicker class

Signature

typescript
export declare class UnitPicker extends PureComponent<Props> 

Import

typescript
import { UnitPicker } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
onChange(value: SelectableValue<string>) => void

Methods

MethodModifiersDescription
render()

onChange property

Signature

typescript
onChange: (value: SelectableValue<string>) => void;

render method

Signature

typescript
render(): JSX.Element;

Returns:

JSX.Element