polarpress-pagebuilder/resources/js/components/ui/tooltip/Tooltip.vue
Helge-Mikael Nordgård b6ab703b4c
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
Base framework
2025-05-05 15:02:00 +02:00

18 lines
408 B
Vue

<script setup lang="ts">
import { TooltipRoot, type TooltipRootEmits, type TooltipRootProps, 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>