Function leptos_router::use_route_data

source ยท
pub fn use_route_data<T: Clone + 'static>() -> Option<T>
Expand description

Returns the data for the current route, which is provided by the data prop on <Route/>.