mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-13 02:32:15 +01:00
16 lines
410 B
Vue
16 lines
410 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 v-bind="forwarded">
|
|
<slot />
|
|
</TooltipRoot>
|
|
</template>
|