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