Skip to content

Commit

Permalink
fix: Fixed TooltipRef
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun authored Jun 4, 2024
1 parent 937c4bd commit dd07799
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 @@ -43,10 +43,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

0 comments on commit dd07799

Please sign in to comment.