import type { FC } from 'react' import { CheckCircle } from '@/app/components/base/icons/src/vender/solid/general' type InputProps = { value?: string onChange: (v: string) => void onFocus?: () => void placeholder?: string validated?: boolean className?: string disabled?: boolean } const Input: FC = ({ value, onChange, onFocus, placeholder, validated, className, disabled, }) => { return (
onChange(e.target.value)} onFocus={onFocus} value={value || ''} disabled={disabled} /> { validated && (
) }
) } export default Input