import * as React from 'react'; import { size, status } from './TextInput.types'; import { IInput } from '../../interfaces'; interface TextInputProps extends IInput { /** * Size of Input * @default 'default' */ inputSize?: size; /** * Explanation text of Input below of the label */ helperText?: React.ReactNode; /** * Label of the Input */ label?: React.ReactNode; /** * When input is loading shows loading indicator and disabled */ loading?: boolean; /** * Status of Input 'warning' | 'success' | 'error' */ status?: status; /** * Message when status is equal to error */ errorMessage?: React.ReactNode; /** * Prefix Icon of Input */ prefix?: string; /** * Suffix Icon of Input */ suffix?: string; /** * External react ref object */ inputRef?: React.MutableRefObject; /** * Additional Classes */ className?: string; } export declare class TextInput extends React.PureComponent { static defaultProps: { inputSize: string; }; render(): JSX.Element; } export {};