frontend/components/ui/hover-card/HoverCard.vue

20 lines
414 B
Vue
Raw Normal View History

<script setup lang="ts">
import {
HoverCardRoot,
type HoverCardRootEmits,
type HoverCardRootProps,
useForwardPropsEmits,
} from "radix-vue";
const props = defineProps<HoverCardRootProps>();
const emits = defineEmits<HoverCardRootEmits>();
const forwarded = useForwardPropsEmits(props, emits);
</script>
<template>
<HoverCardRoot v-bind="forwarded">
<slot />
</HoverCardRoot>
</template>