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 {
6363 delay? : number
6464}
6565
66- interface TooltipImperativeProps {
66+ interface TooltipRefProps {
6767 open: (options ? : TooltipImperativeOpenOptions ) => void
6868 close: (options ? : TooltipImperativeCloseOptions ) => void
6969 /**
@@ -114,10 +114,10 @@ These are read-only. Updating their values has no effect on the tooltip.
114114
115115``` jsx
116116import { useRef } from ' react' ;
117- import { Tooltip , TooltipImperativeProps } from ' react-tooltip' ;
117+ import { Tooltip , TooltipRefProps } from ' react-tooltip' ;
118118
119- const tooltipRef1 = useRef< TooltipImperativeProps > (null )
120- const tooltipRef2 = useRef< TooltipImperativeProps > (null )
119+ const tooltipRef1 = useRef< TooltipRefProps > (null )
120+ const tooltipRef2 = useRef< TooltipRefProps > (null )
121121
122122< a id= " my-element" >
123123 ◕‿‿◕
You can’t perform that action at this time.
0 commit comments