mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 07:40:32 +00:00
fix: Change Dropzone title and subtitle (#607)
This commit is contained in:
@@ -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={{
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user