How can you show more than just a label in dropzone? #426
Unanswered
cannontechnology
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to show more than just the label in the dropzone? I tried to pass children and they only show up after a file is added.
For example, I would like to place an image and label on the initial load of the dropzone.
<FileItemContainer> <div> <UploadImg /> </div> <div>{uploadDialogText}</div> {files.map((file) => ( <FileItem {...file} key={file.id} onDelete={handleDelete} alwaysActive preview={showPreviewsInDropzone} info resultOnTooltip /> ))} </FileItemContainer>
Beta Was this translation helpful? Give feedback.
All reactions