Skip to content

Commit

Permalink
fix: Fixed TooltipRef (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun authored Sep 19, 2024
1 parent 2ce9802 commit 9bac3dd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ export interface TooltipProps
zIndex?: number;
}

export interface TooltipRef {
nativeElement: HTMLElement;
forceAlign: VoidFunction;
}
export interface TooltipRef extends TriggerRef {}

const Tooltip = (props: TooltipProps, ref: React.Ref<TooltipRef>) => {
const {
Expand Down

1 comment on commit 9bac3dd

@vercel
Copy link

@vercel vercel bot commented on 9bac3dd Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tooltip – ./

tooltip-git-master-react-component.vercel.app
tooltip-react-component.vercel.app

Please sign in to comment.