File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ interface TooltipImperativeCloseOptions {
63
63
delay? : number
64
64
}
65
65
66
- interface TooltipImperativeProps {
66
+ interface TooltipRefProps {
67
67
open: (options ? : TooltipImperativeOpenOptions ) => void
68
68
close: (options ? : TooltipImperativeCloseOptions ) => void
69
69
/**
@@ -114,10 +114,10 @@ These are read-only. Updating their values has no effect on the tooltip.
114
114
115
115
``` jsx
116
116
import { useRef } from ' react' ;
117
- import { Tooltip , TooltipImperativeProps } from ' react-tooltip' ;
117
+ import { Tooltip , TooltipRefProps } from ' react-tooltip' ;
118
118
119
- const tooltipRef1 = useRef< TooltipImperativeProps > (null )
120
- const tooltipRef2 = useRef< TooltipImperativeProps > (null )
119
+ const tooltipRef1 = useRef< TooltipRefProps > (null )
120
+ const tooltipRef2 = useRef< TooltipRefProps > (null )
121
121
122
122
< a id= " my-element" >
123
123
◕‿‿◕
You can’t perform that action at this time.
0 commit comments