Function: UnlessRole()
ts
function UnlessRole(props): Element;Defined in: packages/solid/src/components.ts:92
Renders children if the user does NOT have the role(s), like spatie's @unlessrole. anyOf: none of them. allOf: not all of them. Without a condition it renders fallback (deny by default).
Parameters
| Parameter | Type |
|---|---|
props | UnlessRoleProps |
Returns
Element
