Struct sycamore_router::RouterProps [−][src]
pub struct RouterProps<R, F, G> where
R: Route + 'static,
F: FnOnce(StateHandle<R>) -> Template<G>,
G: GenericNode, { /* fields omitted */ }
Expand description
Props for Router
.
Implementations
impl<R, F, G> RouterProps<R, F, G> where
R: Route + 'static,
F: FnOnce(StateHandle<R>) -> Template<G>,
G: GenericNode,
impl<R, F, G> RouterProps<R, F, G> where
R: Route + 'static,
F: FnOnce(StateHandle<R>) -> Template<G>,
G: GenericNode,
Create a new RouterProps
.