import * as React from 'react'; export type TextInputType = "text" | "password"; export interface TextInputProps { /** * If true, user won't be able to interact with the component. */ disabled?: boolean; errors?: any; /** * Specifies the icon class to be displayed within the component */ feedbackIconClass?: string; /** * When set to true, the icon is placed at the left side of the component */ feedbackIconLeft?: boolean; /** * Layout that arranges views of the component */ gridClass?: string; /** * Specifies the text to use as the label */ label?: React.ReactNode; /** * Specifies the name of the component. It is used to distinguish elements * when a single form change handler is used. */ name: string; /** * Callback fired when component value changes. Accepts a function with two parameters, namely field and value */ onChange?: (...args: any[])=>any; placeholder?: string; /** * Specifies the maximum number of characters allowed in the * component */ maxLength?: number; /** * Specifies the type. Can be one of: text, password */ type?: TextInputType; /** * Specifies the current value for an input field */ value?: string; } export default class TextInput extends React.Component { render(): JSX.Element; }