import { PropsWithChildren, ReactNode } from 'react'; import { FormSectionTitle } from '@@/form-components/FormSectionTitle'; import { FileUploadField } from '@@/form-components/FileUpload/FileUploadField'; export interface Props { onChange(value: unknown): void; value?: File; title?: string; required?: boolean; description: ReactNode; } export function FileUploadForm({ onChange, value, title = 'Select a file', required = false, description, }: PropsWithChildren) { return (
Upload
{description}
); }