import type { ReactNode } from 'react'; import type { SizeVariant } from '../types'; export type InputTypes = 'text' | 'password' | 'email' | 'number' | 'textarea'; export interface InputProps { size: SizeVariant; type: InputTypes; className?: string; disabled?: boolean; error?: boolean; id?: string; leftAccessory?: ReactNode; onChange?: (value: string) => void; placeholder?: string; prefix?: ReactNode; rightAccessory?: ReactNode; suffix?: ReactNode; value?: string; } export interface InputStyleProps { disabled?: boolean; error?: boolean; size: SizeVariant; }