File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const Tooltip = ({
19
19
events = [ 'hover' ] ,
20
20
positionStrategy = 'absolute' ,
21
21
middlewares,
22
- wrapper : WrapperElement = 'div' ,
22
+ wrapper : WrapperElement ,
23
23
children = null ,
24
24
delayShow = 0 ,
25
25
delayHide = 0 ,
@@ -38,7 +38,7 @@ const Tooltip = ({
38
38
setIsOpen,
39
39
} : ITooltip ) => {
40
40
const tooltipRef = useRef < HTMLElement > ( null )
41
- const tooltipArrowRef = useRef < HTMLDivElement > ( null )
41
+ const tooltipArrowRef = useRef < HTMLElement > ( null )
42
42
const tooltipShowDelayTimerRef = useRef < NodeJS . Timeout | null > ( null )
43
43
const tooltipHideDelayTimerRef = useRef < NodeJS . Timeout | null > ( null )
44
44
const [ inlineStyles , setInlineStyles ] = useState ( { } )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export interface ITooltip {
43
43
id ?: string
44
44
variant ?: VariantType
45
45
anchorId ?: string
46
- wrapper ? : WrapperType
46
+ wrapper : WrapperType
47
47
children ?: ChildrenType
48
48
events ?: EventsType [ ]
49
49
positionStrategy ?: PositionStrategy
You can’t perform that action at this time.
0 commit comments