Repository navigation
v1.2.16
·
288 commits
to master
since this release
Changes
- Enable full width content @alexandra-c (#44)
- Bump set-getter from 0.1.0 to 0.1.1 @dependabot (#43)
⚠ IMPORTANT! ⚠
- Renamed and refactored PrivateRoute to CustomRoute
- Allows the route to be more configurable
It is HIGHLY recommended to use <CustomRoute /> component when defining a new route. This is an enhanced version of the basic react-router-dom's <Route /> component. In addition, it allows a more deeper customization of a route and by default it comes with the following configuration parameters:
isPrivate: if set to True, allows only the logged in users to access the route.roles: a list of predefined roles. For more details see Authorization;rights: a list of predefined rights. For more details see Authorization;fullWidth: if set to True, it removes the margins and paddings of the main content of the application screen