vinyl-component-blocks
Version:
Modular, Reusable, and Styled UI Component Library. Stop repeating work, install, call, use, modify.
17 lines • 694 B
TypeScript
import React, { ChangeEventHandler, HTMLAttributes } from 'react';
import { ComponentSize } from '../../config/sizes';
export interface TextInputProps extends Omit<HTMLAttributes<HTMLInputElement>, 'size' | 'disabled' | 'onChange'> {
icon?: React.ElementType;
size?: ComponentSize;
disabled?: boolean;
error?: boolean;
value?: string;
width?: string;
onChange?: ChangeEventHandler<HTMLInputElement>;
readonly?: boolean;
clearable?: boolean;
[key: string]: any;
}
declare const _default: React.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
export default _default;
//# sourceMappingURL=text-input.d.ts.map