Skip to main content

renderMatches

renderMatches(matches: null | RouteMatch<string, RouteObject>[]): React.ReactElement | null

Renders the result of matchRoutes() into a React element.

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
matchesnull | RouteMatch<string, RouteObject>[]