renderMatches
On this page

renderMatches

Summary

Reference Documentation ↗

Renders the result of matchRoutes into a React element.

Signature

function renderMatches(
  matches: RouteMatch[] | null,
): React.ReactElement | null

Params

matches

The array of route matches to render

Returns

A React element that renders the matched routes or null if no matches

Docs and examples CC 4.0
Edit