watercolor-ui
Version:
A modern minimalist cross-framework component library
39 lines • 1.47 kB
TypeScript
export default Input;
declare function Input({ value, onChange, type, placeholder, disabled, readonly, required, autoFocus, maxLength, minLength, size, variant, color, error, helperText, label, startAdornment, endAdornment, fullWidth, multiline, rows, autoComplete, name, id: providedId, className, style, onFocus, onBlur, onKeyDown, onKeyUp, onKeyPress, ...props }: {
[x: string]: any;
value?: string | undefined;
onChange: any;
type?: string | undefined;
placeholder?: string | undefined;
disabled?: boolean | undefined;
readonly?: boolean | undefined;
required?: boolean | undefined;
autoFocus?: boolean | undefined;
maxLength: any;
minLength: any;
size?: string | undefined;
variant?: string | undefined;
color?: string | undefined;
error?: boolean | undefined;
helperText?: string | undefined;
label?: string | undefined;
startAdornment?: null | undefined;
endAdornment?: null | undefined;
fullWidth?: boolean | undefined;
multiline?: boolean | undefined;
rows?: number | undefined;
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 Input {
let displayName: string;
}
//# sourceMappingURL=Input.d.ts.map