You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
391 B
Vue
15 lines
391 B
Vue
<script setup lang="ts">
|
|
import { TooltipRoot, useForwardPropsEmits, type TooltipRootEmits, type TooltipRootProps } from 'radix-vue';
|
|
|
|
const props = defineProps<TooltipRootProps>();
|
|
const emits = defineEmits<TooltipRootEmits>();
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<TooltipRoot v-bind="forwarded">
|
|
<slot />
|
|
</TooltipRoot>
|
|
</template>
|