mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 00:15:05 +01:00
chore: split props for Dropdown, ContextMenu and Popover
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
</template>
|
||||
|
||||
<template #panel>
|
||||
<div class="p-4 u-bg-white border u-border-gray-200 rounded-md">
|
||||
<div class="p-2">
|
||||
Panel
|
||||
</div>
|
||||
</template>
|
||||
@@ -135,9 +135,9 @@
|
||||
|
||||
<UCard class="relative" body-class="h-64" @click="isContextMenuOpen = false" @contextmenu.prevent="openContextMenu">
|
||||
<UContextMenu v-model="isContextMenuOpen" :virtual-element="virtualElement" width-class="w-48">
|
||||
<UCard @click.stop>
|
||||
<div class="p-2">
|
||||
Menu
|
||||
</UCard>
|
||||
</div>
|
||||
</UContextMenu>
|
||||
</UCard>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user