fix: Change Dropzone title and subtitle (#607)

This commit is contained in:
Ahmed Bouhuolia
2024-08-14 20:13:45 +02:00
committed by GitHub
parent b12f090d13
commit ee96dc68cc
2 changed files with 3 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ export function UploadAttachmentsPopoverContent({
uploadIcon={null} uploadIcon={null}
value={null} value={null}
title={''} title={''}
subtitle={'Drag and drop file here or choose file'}
classNames={{ root: styles.dropzoneRoot }} classNames={{ root: styles.dropzoneRoot }}
onChange={handleChangeDropzone} onChange={handleChangeDropzone}
dropzoneProps={{ dropzoneProps={{

View File

@@ -13,6 +13,8 @@ export function ImportDropzone() {
<Field id={'file'} name={'file'} type="file"> <Field id={'file'} name={'file'} type="file">
{({ form }) => ( {({ form }) => (
<ImportDropzoneField <ImportDropzoneField
title={'Drag and drop files here or click to select files'}
subtitle={''}
value={form.file} value={form.file}
onChange={(file) => { onChange={(file) => {
hideAlerts(); hideAlerts();