mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-18 05:58:07 +01:00
docs(context-menu): update
This commit is contained in:
@@ -66,7 +66,8 @@ import UContextMenuContent from './ContextMenuContent.vue'
|
||||
import { omit } from '../utils'
|
||||
|
||||
const props = withDefaults(defineProps<ContextMenuProps<T>>(), {
|
||||
portal: true
|
||||
portal: true,
|
||||
modal: true
|
||||
})
|
||||
const emits = defineEmits<ContextMenuEmits>()
|
||||
const slots = defineSlots<ContextMenuSlots<T>>()
|
||||
|
||||
@@ -75,7 +75,8 @@ import UDropdownMenuContent from './DropdownMenuContent.vue'
|
||||
import { omit } from '../utils'
|
||||
|
||||
const props = withDefaults(defineProps<DropdownMenuProps<T>>(), {
|
||||
portal: true
|
||||
portal: true,
|
||||
modal: true
|
||||
})
|
||||
const emits = defineEmits<DropdownMenuEmits>()
|
||||
const slots = defineSlots<DropdownMenuSlots<T>>()
|
||||
|
||||
Reference in New Issue
Block a user