Routestype

{
	[key: AbsolutePath]: Nullish<Route | false>;
}
Type
AbsolutePath
Absolute path string starting with a / slash.
Nullish
Nullish is the value or null or undefined.
Route
Valid route values:

Route table mapping { path: RouteComponent | redirectPath | ReactElement } for a <Router>.

  • Each key is a path starting with /, optionally containing {named} placeholders passed into the component.
  • Each value is a Route (or a nullish/false value to disable that route).