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 &&

{description}

} {type === 'textarea' ? ( ) : ( )}
) interface CheckboxFieldProps { label: string name: string } export const CheckboxField = ({ label, name }: CheckboxFieldProps) => (
) interface ImageUploadFieldProps { label: string description: string } export const ImageUploadField = ({ label, description }: ImageUploadFieldProps) => (
{description &&

{description}

}
)