@findnlink/neuro-ui
Version:
Findnlink design system
13 lines (12 loc) • 463 B
TypeScript
import { InputHTMLAttributes, HTMLInputTypeAttribute } from 'react';
import { UtilInterface } from '../../util/interfaces';
export interface InputProps extends InputHTMLAttributes<HTMLInputElement>, UtilInterface {
/** Should it be a password input? */
type?: HTMLInputTypeAttribute | 'text' | 'password';
/** Is the value valid or not? */
error?: boolean;
errorMessage?: string;
icon?: any;
limit?: true | false;
value: string;
}