pub fn Routes<Defs, FallbackFn, Fallback>(
props: RoutesProps<Defs, FallbackFn, Fallback>,
) -> impl IntoViewExpand description
§Required Props
- fallback: [
FallbackFn]- A function that returns the view that should be shown if no route is matched.
- children:
RouteChildren<Defs>- The route definitions. This should consist of one or more
ParentRouteorRoutecomponents.
- The route definitions. This should consist of one or more
§Optional Props
- transition:
bool- Whether to use the View Transition API during navigation.