mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
16 lines
463 B
Vue
16 lines
463 B
Vue
<script setup lang="ts">
|
|
import type { DropdownMenuSubEmits, DropdownMenuSubProps } from 'reka-ui'
|
|
import { DropdownMenuSub, useForwardPropsEmits } from 'reka-ui'
|
|
|
|
const props = defineProps<DropdownMenuSubProps>()
|
|
const emits = defineEmits<DropdownMenuSubEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<DropdownMenuSub data-slot="dropdown-menu-sub" v-bind="forwarded">
|
|
<slot />
|
|
</DropdownMenuSub>
|
|
</template>
|