frontend/app/components/ui/tooltip/Tooltip.vue

20 lines
426 B
Vue
Raw Normal View History

<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>
2025-12-09 22:32:22 +01:00
<TooltipRoot data-slot="tooltip" v-bind="forwarded">
2026-01-09 21:47:12 +01:00
<slot />
2025-12-09 22:32:22 +01:00
</TooltipRoot>
</template>