RouterPropsinterface
{
readonly routes: Routes;
readonly fallback?: ReactElement | undefined | null;
}| Property | Type | |
|---|---|---|
.routes | Routes | List of routes for the router to match against. required readonly |
.fallback | ReactElementnull | Optional fallback element. - Explicit null means fallback to nothing (router will not throw NotFoundError). readonly |
Props for <Router> — the routes to match against plus an optional fallback.