use leptos::html::Div; use leptos::*; use leptos_use::docs::{demo_or_body, BooleanDisplay}; use leptos_use::{use_drop_zone_with_options, UseDropZoneOptions, UseDropZoneReturn}; #[component] fn Demo() -> impl IntoView { let (dropped, set_dropped) = create_signal(false); let drop_zone_el = create_node_ref::
Drop files into dropZone
Name: {file.name()}
Size: {file.size()}
Type: {file.type_()}
Last modified: {file.last_modified()}