React Routeways - API Reference • Docs
React Routeways - API Reference / Route
Function: Route()
Route(
props
):Nullable
<ReactElement
<any
,string
|JSXElementConstructor
<any
>>>
Same as react-router-dom’s <Route>
component, but it replaces the path
prop with route
, where you can pass as Routeway
route which will be used
to create the path.
Parameters
• props: RouteProps
Returns
Nullable
<ReactElement
<any
, string
| JSXElementConstructor
<any
>>>