React Routeways - API ReferenceDocs


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>>>

Defined in

src/lib/components/Route.component.tsx:39