File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const Tooltip = ({
1919 events = [ 'hover' ] ,
2020 positionStrategy = 'absolute' ,
2121 middlewares,
22- wrapper : WrapperElement = 'div' ,
22+ wrapper : WrapperElement ,
2323 children = null ,
2424 delayShow = 0 ,
2525 delayHide = 0 ,
@@ -38,7 +38,7 @@ const Tooltip = ({
3838 setIsOpen,
3939} : ITooltip ) => {
4040 const tooltipRef = useRef < HTMLElement > ( null )
41- const tooltipArrowRef = useRef < HTMLDivElement > ( null )
41+ const tooltipArrowRef = useRef < HTMLElement > ( null )
4242 const tooltipShowDelayTimerRef = useRef < NodeJS . Timeout | null > ( null )
4343 const tooltipHideDelayTimerRef = useRef < NodeJS . Timeout | null > ( null )
4444 const [ inlineStyles , setInlineStyles ] = useState ( { } )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export interface ITooltip {
4343 id ?: string
4444 variant ?: VariantType
4545 anchorId ?: string
46- wrapper ? : WrapperType
46+ wrapper : WrapperType
4747 children ?: ChildrenType
4848 events ?: EventsType [ ]
4949 positionStrategy ?: PositionStrategy
You can’t perform that action at this time.
0 commit comments