UNPKG

cookie12-test-ui

Version:

React component library

20 lines (19 loc) 636 B
import React from 'react'; import './TextInput.scss'; interface TextInputProps { disabled?: boolean; handleViewIcon?: (e: React.MouseEvent<HTMLSpanElement>) => void; htmlFor: string; information?: boolean | string; inputName?: string; label: string; notificationState?: null | 'success' | 'error' | 'warning'; notificationMessage?: null | string; onInputChange?: (e: React.ChangeEvent<HTMLInputElement>) => void; placeholder: string; type?: string; withIcon?: boolean | string; value?: string; } export declare const TextInput: React.FC<TextInputProps>; export {};