mirror of https://github.com/grafana/grafana.git
1.1 KiB
1.1 KiB
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "UnitPicker" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++
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