* Upgrade to access this feature
*
*/
const Cannot = defineComponent({
name: 'Cannot',
props: {
action: { type: String, required: true },
resource: { type: String, required: true },
resourceId: { type: String, default: undefined },
scope: { type: String, default: undefined },
},
setup(
props: { action: string; resource: string; resourceId?: string; scope?: string },
{ slots }: { slots: Record