'use client' interface TextShortFieldProps { name: string label: string value: string required: boolean placeholder?: string onChange: (value: string) => void error?: string } export function TextShortField({ name, label, value, required, placeholder = '', onChange, error, }: TextShortFieldProps) { return (
onChange(e.target.value)} className="text-short-input" autoComplete="off" /> {error && ( )}
) }