mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
19 lines
436 B
Vue
19 lines
436 B
Vue
<script lang="ts" setup>
|
|
import type { DrawerRootEmits, DrawerRootProps } from "vaul-vue";
|
|
import { useForwardPropsEmits } from "radix-vue";
|
|
|
|
const props = withDefaults(defineProps<DrawerRootProps>(), {
|
|
shouldScaleBackground: true,
|
|
});
|
|
|
|
const emits = defineEmits<DrawerRootEmits>();
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<DrawerRoot v-bind="forwarded">
|
|
<slot />
|
|
</DrawerRoot>
|
|
</template>
|