StatsPicker class

Signature

  1. export declare class StatsPicker extends PureComponent<Props>

Import

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

Properties

PropertyModifiersTypeDescription
checkInput() => void
defaultPropsstaticPartial<Props>
onSelectionChange(item: SelectableValue<string>) => void

Methods

MethodModifiersDescription
componentDidMount()
componentDidUpdate(prevProps)
render()

checkInput property

Signature

  1. checkInput: () => void;

defaultProps property

Signature

  1. static defaultProps: Partial<Props>;

onSelectionChange property

Signature

  1. onSelectionChange: (item: SelectableValue<string>) => void;

componentDidMount method

Signature

  1. componentDidMount(): void;

Returns:

void

componentDidUpdate method

Signature

  1. componentDidUpdate(prevProps: Props): void;

Parameters

ParameterTypeDescription
prevPropsProps

Returns:

void

render method

Signature

  1. render(): JSX.Element;

Returns:

JSX.Element