PermissionGateProps
Axis Vertex JavaScript SDK: react
Axis Vertex JavaScript SDK: react / PermissionGateProps
Interface: PermissionGateProps
Properties
children
children:
ReactNode
Content to render when user has the permission
fallback?
optionalfallback?:ReactNode
Content to render when user lacks the permission
permission
permission:
string|PermissionKey
Required permission in resource:action format