React Routeways - API ReferenceDocs


React Routeways - API Reference / RoutesProps

Interface: RoutesProps

Extends

  • RoutesProps

Properties

children

children: ReactNode | ReactElement<RouteProps, string | JSXElementConstructor<any>> | ReactElement<RouteProps, string | JSXElementConstructor<any>>[]

The children of <Routes>, which must be either Route component(s) or React Feragment(s)

Overrides

OriginalRoutesProps.children

Defined in

src/lib/components/Routes.component.tsx:20


location?

optional location: string | Partial<Location<any>>

Inherited from

OriginalRoutesProps.location

Defined in

node_modules/react-router/dist/lib/components.d.ts:124