Skip to content

Commit

Permalink
feat(@vben/common-ui): Tooltip的tip支持style传参
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjue666 committed Aug 7, 2024
1 parent b4cd5f2 commit f7b310b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { TooltipContentProps } from 'radix-vue';
interface Props {
contentClass?: HTMLAttributes['class'];
contentStyle?: HTMLAttributes['style'];
delayDuration?: number;
side: TooltipContentProps['side'];
}
Expand All @@ -31,6 +32,7 @@ withDefaults(defineProps<Props>(), {
<TooltipContent
:class="contentClass"
:side="side"
:style="contentStyle"
class="side-content text-popover-foreground bg-popover"
>
<slot></slot>
Expand Down

0 comments on commit f7b310b

Please sign in to comment.