UNPKG

watercolor-ui

Version:

A modern minimalist cross-framework component library

42 lines 1.55 kB
export default TextField; declare function TextField({ value, onChange, type, label, placeholder, helperText, error, required, disabled, readonly, autoFocus, fullWidth, multiline, rows, maxRows, minRows, variant, size, color, startAdornment, endAdornment, maxLength, minLength, pattern, autoComplete, name, id, className, style, onFocus, onBlur, onKeyDown, onKeyUp, onKeyPress, ...props }: { [x: string]: any; value?: string | undefined; onChange: any; type?: string | undefined; label?: string | undefined; placeholder?: string | undefined; helperText?: string | undefined; error?: string | undefined; required?: boolean | undefined; disabled?: boolean | undefined; readonly?: boolean | undefined; autoFocus?: boolean | undefined; fullWidth?: boolean | undefined; multiline?: boolean | undefined; rows?: number | undefined; maxRows: any; minRows: any; variant?: string | undefined; size?: string | undefined; color?: string | undefined; startAdornment?: null | undefined; endAdornment?: null | undefined; maxLength: any; minLength: any; pattern: any; autoComplete?: string | undefined; name?: string | undefined; id?: string | undefined; className?: string | undefined; style?: {} | undefined; onFocus: any; onBlur: any; onKeyDown: any; onKeyUp: any; onKeyPress: any; }): import("react/jsx-runtime").JSX.Element; declare namespace TextField { let displayName: string; } //# sourceMappingURL=TextField.d.ts.map