use leptos::html::Div; use leptos::*; use leptos_use::docs::{demo_or_body, BooleanDisplay}; use leptos_use::{ use_intersection_observer_with_options, UseIntersectionObserverOptions, UseIntersectionObserverReturn, }; #[component] fn Demo(cx: Scope) -> impl IntoView { let root = create_node_ref::
"Scroll me down!"
"Hello world!"