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.
UnitPicker class
Signature
export declare class UnitPicker extends PureComponent<Props>
Import
import { UnitPicker } from '@grafana/ui';
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
onChange | (value: SelectableValue<string>) => void |
Methods
Method | Modifiers | Description |
---|---|---|
render() |
onChange property
Signature
onChange: (value: SelectableValue<string>) => void;
render method
Signature
render(): JSX.Element;
Returns:
JSX.Element