mirror of
https://github.com/woodchen-ink/md-wechat.git
synced 2025-07-19 06:02:02 +08:00
20 lines
430 B
Vue
20 lines
430 B
Vue
<script setup lang="ts">
|
|
import { MenubarSub, type MenubarSubEmits, useForwardPropsEmits } from 'radix-vue'
|
|
|
|
interface MenubarSubRootProps {
|
|
defaultOpen?: boolean
|
|
open?: boolean
|
|
}
|
|
|
|
const props = defineProps<MenubarSubRootProps>()
|
|
const emits = defineEmits<MenubarSubEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<MenubarSub v-bind="forwarded">
|
|
<slot />
|
|
</MenubarSub>
|
|
</template>
|