interface FileUploadProps { name?: string; multiple?: boolean; accept?: string; id?: string; label?: string; helperText?: string; } export function FileUpload( { name = "file-upload", multiple = false, accept = "image/*", id, label = "Photos (optional)", helperText = "PNG, JPG, GIF up to 10MB each", }: FileUploadProps, ) { const inputId = id ?? `file-upload-${name}`; return (
or drag and drop
{helperText}