Optional
fallback?: ReactNodeOptional
fromThe function to apply to the policy evaluation result to get a boolean decision. If unset, any non-undefined, non-false (i.e. "truthy") result will be taken to mean "authorized".
Optional
_: ResultOptional
input?: InputInput to the policy evaluation. Will be merged with AuthzProvider
's defaultInput
(if set), overriding it when in conflict.
Optional
loading?: ReactNodeloading
mimics React.Suspense
Will display when loading so we have the option to display skeletons instead of the disabled option.
Optional
path?: stringPath of the policy to evluate. Will default to AuthzProvider
's path
.
Component to display when result is falsey