+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "StatsPicker" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" draft = true +++ ## StatsPicker class Signature ```typescript export declare class StatsPicker extends PureComponent ``` Import ```typescript import { StatsPicker } from '@grafana/ui'; ``` Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [checkInput](#checkinput-property) | | () => void | | | [defaultProps](#defaultprops-property) | static | Partial<Props> | | | [onSelectionChange](#onselectionchange-property) | | (item: SelectableValue<string>) => void | | Methods | Method | Modifiers | Description | | --- | --- | --- | | [componentDidMount()](#componentdidmount-method) | | | | [componentDidUpdate(prevProps)](#componentdidupdate-method) | | | | [render()](#render-method) | | | ### checkInput property Signature ```typescript checkInput: () => void; ``` ### defaultProps property Signature ```typescript static defaultProps: Partial; ``` ### onSelectionChange property Signature ```typescript onSelectionChange: (item: SelectableValue) => void; ``` ### componentDidMount method Signature ```typescript componentDidMount(): void; ``` Returns: `void` ### componentDidUpdate method Signature ```typescript componentDidUpdate(prevProps: Props): void; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | prevProps | Props | | Returns: `void` ### render method Signature ```typescript render(): JSX.Element; ``` Returns: `JSX.Element`