mirror of
https://github.com/keven1024/015.git
synced 2026-06-04 19:39:36 +00:00
21 lines
489 B
Vue
21 lines
489 B
Vue
<script setup lang="ts">
|
|
import type { MenubarSubEmits } from 'reka-ui'
|
|
import { MenubarSub, useForwardPropsEmits } from 'reka-ui'
|
|
|
|
interface MenubarSubRootProps {
|
|
defaultOpen?: boolean
|
|
open?: boolean
|
|
}
|
|
|
|
const props = defineProps<MenubarSubRootProps>()
|
|
const emits = defineEmits<MenubarSubEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<MenubarSub data-slot="menubar-sub" v-bind="forwarded">
|
|
<slot />
|
|
</MenubarSub>
|
|
</template>
|