+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "Input" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" draft = true +++ ## Input class Signature ```typescript export declare class Input extends PureComponent ``` Import ```typescript import { Input } from '@grafana/ui'; ``` Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [defaultProps](#defaultprops-property) | static | {
className: string;
} | | | [isInvalid](#isinvalid-property) | | boolean | | | [populateEventPropsWithStatus](#populateeventpropswithstatus-property) | | (restProps: any, validationEvents: ValidationEvents | undefined) => any | | | [state](#state-property) | | State | | | [status](#status-property) | | InputStatus | | | [validatorAsync](#validatorasync-property) | | (validationRules: ValidationRule[]) => (evt: React.ChangeEvent<HTMLInputElement>) => void | | Methods | Method | Modifiers | Description | | --- | --- | --- | | [render()](#render-method) | | | ### defaultProps property Signature ```typescript static defaultProps: { className: string; }; ``` ### isInvalid property Signature ```typescript get isInvalid(): boolean; ``` ### populateEventPropsWithStatus property Signature ```typescript populateEventPropsWithStatus: (restProps: any, validationEvents: ValidationEvents | undefined) => any; ``` ### state property Signature ```typescript state: State; ``` ### status property Signature ```typescript get status(): InputStatus; ``` ### validatorAsync property Signature ```typescript validatorAsync: (validationRules: ValidationRule[]) => (evt: React.ChangeEvent) => void; ``` ### render method Signature ```typescript render(): JSX.Element; ``` Returns: `JSX.Element`