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