Skip to content

default component for DropZone #862

Open
@yoshi95

Description

@yoshi95

Hi, I have a need to programmatically populate many DropZones (like 10+) for my CMS integration. But I dont want the user to populate all of the DropZone manually.

I am thinking of some way to provide a default component like

<DropZone name="banner" defaultComponent={'ImageBanner'} />
// or
<DropZone name="banner" defaultComponent={() => <h2>Heading</h2>} />

Wondering if this is possible do this with as plugin, or even extend the current DropZone component.
Maybe it is a feature request, love to open a PR with some guidance as well.

Thank you

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions