import '../styles/styles.css' interface InputFieldProps { label: string description?: string type?: 'text' | 'textarea' placeholder: string name: string inputMode?: 'url' } export const InputField = ({ label, description, type = 'text', placeholder, name, inputMode }: InputFieldProps) => (
{description}
} {type === 'textarea' ? ( ) : ( )}{description}
}