Releases: ledsoft/react-authorization
Releases · ledsoft/react-authorization
0.4.1
- Fixes missing
children
prop in TypeScript definitions in React 18 (#21).
0.4.0
- Allow passing
boolean
directly as isAuthorized
to the IfAuthorized
component (now it takes a function or boolean).
- Update dependencies.
0.3.3
- Simplify rendering of
IfAllGranted
, make it consistent with the other components.
- Update dependencies.
0.3.2
- Fix missing export of
IfAuthorized
from the module.
0.3.0
- Added
IfAuthorized
component allowing to use custom authorization functions.
- Updated dependencies.
0.2.0
- Migrated to Webpack-based project structure and build.
- Added TypeScript type declarations.