router

Function router 

pub fn router<R>(init: impl FnOnce() -> RouterConfig<R>) -> impl IntoElement
where R: Routable + Clone,
Available on crate feature router only.
Expand description

A component that renders the current route.