Skip to content

Route ​

A single component in router navigation stack.

name ​

A name for the route

TypeRequired
stringtrue

component ​

A component to render when navigating to this route

TypeRequired
React Componenttrue

params ​

Initial params for the route

TypeRequired
anyfalse

Released under the MIT License.