brightyui
Version:
Brighty UI library
18 lines (17 loc) • 449 B
TypeScript
import React, { FC } from 'react';
interface InputProps {
className?: string;
value?: string;
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
placeholder?: string;
name?: string;
disabled?: boolean;
error?: string;
hint?: string;
type?: 'text' | 'password' | 'email';
onDelete?: () => void;
deletable?: boolean;
mask?: string;
}
declare const Input: FC<InputProps>;
export default Input;