React Routeways - API Reference • Docs
React Routeways - API Reference / Routes
Function: Routes()
Routes(
props
):Nullable
<ReactElement
<any
,string
|JSXElementConstructor
<any
>>>
A “wrapper” over react-router-dom’s <Routes>
component which allows the use
of react-routeways’ Route components as children.
Parameters
• props: RoutesProps
Returns
Nullable
<ReactElement
<any
, string
| JSXElementConstructor
<any
>>>