mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
chore: up
This commit is contained in:
28
playground/compodium/examples/UContextMenuExample.vue
Normal file
28
playground/compodium/examples/UContextMenuExample.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<script setup lang="ts">
|
||||
extendCompodiumMeta({
|
||||
defaultProps: {
|
||||
items: [
|
||||
{
|
||||
label: 'System',
|
||||
icon: 'i-lucide-monitor'
|
||||
},
|
||||
{
|
||||
label: 'Light',
|
||||
icon: 'i-lucide-sun'
|
||||
},
|
||||
{
|
||||
label: 'Dark',
|
||||
icon: 'i-lucide-moon'
|
||||
}
|
||||
]
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UContextMenu>
|
||||
<Placeholder class="aspect-video w-72">
|
||||
Right click here
|
||||
</Placeholder>
|
||||
</UContextMenu>
|
||||
</template>
|
||||
Reference in New Issue
Block a user