Skip to content

Commit 9bac3dd

Browse files
authored
fix: Fixed TooltipRef (#477)
1 parent 2ce9802 commit 9bac3dd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Tooltip.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ export interface TooltipProps
4444
zIndex?: number;
4545
}
4646

47-
export interface TooltipRef {
48-
nativeElement: HTMLElement;
49-
forceAlign: VoidFunction;
50-
}
47+
export interface TooltipRef extends TriggerRef {}
5148

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

0 commit comments

Comments
 (0)