Manta Developers
GitHub
Menu

@manta-eu/react/datastore-routes

Reference for @manta-eu/react/datastore-routes as it is on main.

Functions

getDatastoreRoutes()

getDatastoreRoutes(elements, extra?): Element

extra is for a feature that brings its own <Route> children — Horns does, from @manta-eu/horns-client. They are spliced into these <Routes> rather than nested in their own, so their paths stay relative to the datastore basename and the router ranks them against everything here.

Parameters

elements

RouteElements

extra?

ReactNode

Returns

Element


getGlobalRoutes()

getGlobalRoutes(elements): Element

Parameters

elements

RouteElements

Returns

Element