pub fn DropZone(props: DropZoneProps) -> impl IntoViewExpand description
Wraps children as a drop target registered under id. Highlights while a
drag hovers it and runs on_drop with the dropped DragPayload when a drag
is released over it.
§Required Props
- id:
impl Into<String> - on_drop:
Callback<DragPayload> - children:
Children
§Optional Props
- class:
impl Into<String>