Reviewed-on: #3 Co-authored-by: bivashy <botyrbojey@gmail.com> Co-committed-by: bivashy <botyrbojey@gmail.com>
18 lines
425 B
Vue
18 lines
425 B
Vue
<script setup lang="ts">
|
|
import { HoverCardRoot, type HoverCardRootEmits, type HoverCardRootProps, useForwardPropsEmits } from 'reka-ui'
|
|
|
|
const props = defineProps<HoverCardRootProps>()
|
|
const emits = defineEmits<HoverCardRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<HoverCardRoot
|
|
data-slot="hover-card"
|
|
v-bind="forwarded"
|
|
>
|
|
<slot />
|
|
</HoverCardRoot>
|
|
</template>
|