Function: Can()
ts
function Can(props): Element | null;Defined in: packages/react/src/components.tsx:53
Renders children if the user has the permission(s) — like spatie's @can / @canany.
Parameters
| Parameter | Type |
|---|---|
props | CanProps |
Returns
Element | null
