Function router

Source
pub fn router<R: Routable + Clone>(
    init: impl FnOnce() -> RouterConfig<R>,
) -> impl IntoElement
Expand description

A component that renders the current route.