export type TextFieldSize = 'sm' | 'md' | 'lg';

export interface BaseTextFieldProps {
  value?: string;
  onChange?: (value: string) => void;
  placeholder?: string;
  disabled?: boolean;
  required?: boolean;
  readonly?: boolean;
  size?: TextFieldSize;
  error?: string;
  helperText?: string;
  label?: string;
  className?: string;
  type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
  maxLength?: number;
  minLength?: number;
  autoFocus?: boolean;
  name?: string;
  id?: string;
}

