Skip to content

Variable: Can ​

ts
const Can: Component<CanProps> = CanComponent;

Defined in: packages/sveltekit/src/index.ts:26

Renders children when the user has the permission(s), otherwise the fallback snippet. See CanProps.

Released under the MIT License. Inspired by spatie/laravel-permission.