liu
2026-09-15 2d74cdc6f9bc14f54470a1cdde845b83e2155b4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<script setup lang="ts">
import type { HoverCardRootEmits, HoverCardRootProps } from 'reka-ui';
 
import { HoverCardRoot, useForwardPropsEmits } from 'reka-ui';
 
const props = defineProps<HoverCardRootProps>();
const emits = defineEmits<HoverCardRootEmits>();
 
const forwarded = useForwardPropsEmits(props, emits);
</script>
 
<template>
  <HoverCardRoot v-slot="slotProps" data-slot="hover-card" v-bind="forwarded">
    <slot v-bind="slotProps"></slot>
  </HoverCardRoot>
</template>