20 lines
440 B
Vue
20 lines
440 B
Vue
<script lang="ts" setup>
|
|
import type { DrawerRootEmits, DrawerRootProps } from "reka-ui"
|
|
import { DrawerRoot, useForwardPropsEmits } from "reka-ui"
|
|
|
|
const props = defineProps<DrawerRootProps>()
|
|
|
|
const emits = defineEmits<DrawerRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<DrawerRoot
|
|
v-slot="slotProps"
|
|
v-bind="forwarded"
|
|
>
|
|
<slot v-bind="slotProps" />
|
|
</DrawerRoot>
|
|
</template>
|