Skip to content

Commit

Permalink
Update readme with info on IfNonGranted
Browse files Browse the repository at this point in the history
  • Loading branch information
ledsoft authored Aug 4, 2020
1 parent 0c3a809 commit 6e8aec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ The children above are wrapped in a `span` instead of a `div`:
Supported components:
* `IfAllGranted` - requires all of the expected roles to be granted,
* `IfAnyGranted` - requires at least one of the expected roles to be granted,
* `IfGranted` - shorthand for expecting one role only - corresponds to using `IfAnyGranted` with exactly one role expected.
* `IfGranted` - shorthand for expecting one role only - corresponds to using `IfAnyGranted` with exactly one role expected,
* `IfNoneGranted` - requires that none of the expected roles is granted (e.g., role `guest` must not be set for editing access).

API of the respective components is described below.

Expand Down

0 comments on commit 6e8aec1

Please sign in to comment.