19 lines
428 B
Vue
19 lines
428 B
Vue
<script setup lang="ts">
|
|
import type { TooltipRootEmits, TooltipRootProps } from "reka-ui"
|
|
import { TooltipRoot, useForwardPropsEmits } from "reka-ui"
|
|
|
|
const props = defineProps<TooltipRootProps>()
|
|
const emits = defineEmits<TooltipRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<TooltipRoot
|
|
data-slot="tooltip"
|
|
v-bind="forwarded"
|
|
>
|
|
<slot />
|
|
</TooltipRoot>
|
|
</template>
|