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}
value={null}
title={''}
subtitle={'Drag and drop file here or choose file'}
classNames={{ root: styles.dropzoneRoot }}
onChange={handleChangeDropzone}
dropzoneProps={{

View File

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