zhuguifei
2025-02-24 f2bc4b93d1291c1f193b3a830418904eb6ef37ed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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></slot>
  </HoverCardRoot>
</template>