mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 14:41:45 +08:00
20 lines
487 B
Vue
20 lines
487 B
Vue
<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" />
|
|
</HoverCardRoot>
|
|
</template>
|