From 7e1196c62c637fbfae14ead49b583a250ef082e0 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 21 Mar 2024 12:55:49 +0100 Subject: [PATCH] chore(Tooltip): improve slots --- src/runtime/components/Tooltip.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/Tooltip.vue b/src/runtime/components/Tooltip.vue index 35526ba8..205e55d8 100644 --- a/src/runtime/components/Tooltip.vue +++ b/src/runtime/components/Tooltip.vue @@ -25,6 +25,8 @@ export interface TooltipEmits extends TooltipRootEmits {} export interface TooltipSlots { default(): any content(): any + text(): any + shortcuts(): any } @@ -55,10 +57,14 @@ const ui = computed(() => tv({ extend: tooltip, slots: props.ui })()) - {{ text }} + + {{ text }} + - + + +