mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-30 09:21:44 +08:00
update: 更新前端依赖;修改前端样式
This commit is contained in:
19
web/src/components/ui/hover-card/HoverCard.vue
Normal file
19
web/src/components/ui/hover-card/HoverCard.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user