next-gen-ui
Version:
Next Gen Ui is a home for front-end & UI/Ux developers. We provide all the necessary components required to build a scalable front-end application which suits the user experience in a unique way.
17 lines • 709 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<Pick<TextInputProps, keyof TextInputProps> & React.RefAttributes<HTMLInputElement>>;
export default _default;
//# sourceMappingURL=text-input.d.ts.map