import React from 'react'; import { InputWrapperProps } from './InputWrapper'; export declare const TextInputStyle: import("styled-components").FlattenInterpolation>[]; export interface TextInputProps extends React.InputHTMLAttributes { disabled?: boolean; multiline?: boolean; readOnly?: boolean; type?: string; error?: boolean; warning?: boolean; onKeyDown?: (event: React.KeyboardEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; value?: any; defaultValue?: string; placeholder?: string; onChange?: (event: React.ChangeEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; focused?: boolean; style?: React.CSSProperties; startComponent?: React.ReactNode; endComponent?: React.ReactNode; InputWrapperProps?: InputWrapperProps; className?: string; autoFocus?: boolean; id?: string; inputComponent?: React.ReactType; inputRef?: React.RefObject; } export interface TextInputState { focused: boolean; } /** * 文本输入框组件 * * @ReactComponent */ declare class TextInput extends React.PureComponent { static sinouiName: string; state: { focused: boolean; }; handleBlur: (event: React.FocusEvent) => void; handleFocus: (event: React.FocusEvent) => void; render(): JSX.Element; } export default TextInput;