import * as React from "react"; import { IconProps } from "../IconBase"; import { TextProps } from "../Text"; export interface TextInputProps extends TextProps { id: string; size?: "lg" | "md" | "sm"; name?: string; value?: string; multiline?: number; label?: string; floating?: boolean; placeholder?: string; maxLength?: number; minLength?: number; disabled?: boolean; readOnly?: boolean; tabIndex?: string; onChange?: (evt: React.ChangeEvent) => void; onKeyDown?: (evt: React.KeyboardEvent) => void; onClick?: (evt: React.MouseEvent) => void; onFocus?: (evt: React.FocusEvent) => void; onBlur?: (evt: React.FocusEvent) => void; iconName?: never; icon?: React.ComponentType; suffixNode?: React.ReactNode; inputType?: string; error?: boolean; borderRadius?: number; viewCss?: any; borderColor?: string; tid?: string; labelCss?: any; } interface TextInputState { value: string; isFocused: boolean; valueLength?: number; } declare class TextInput extends React.PureComponent { static displayName: string; static defaultProps: { size: string; borderRadius: number; inputType: string; }; constructor(props: TextInputProps); handleFocus(evt: React.FocusEvent): void; handleBlur(evt: React.FocusEvent): void; getBorderColor(): string; handleChange: (event: React.ChangeEvent) => void; render(): JSX.Element; } export default TextInput;