DropZone: Allow overriding children #14335
Labels
[Feature] Drag and Drop
Drag and drop functionality when working with blocks
[Package] Components
/packages/components
[Type] Enhancement
A suggestion for improvement.
Is your feature request related to a problem? Please describe.
I am trying to use the
DropZone
component together withDraggable
to implement a simple sorting mechanism.While doing so, I realized I can change the default "Drop files to upload" label, but not the upload icon.
In the 'BlockDropZone' component, this is "solved" by just hiding the content using CSS, which isn't really nice, but currently the only way to achieve this.
Describe the solution you'd like
It would be way easier if we could pass custom content as children or have some other way to remove the default content in
DropZone
.The text was updated successfully, but these errors were encountered: