File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ export function Tooltip<
43
43
FCProps extends React . PropsWithChildren < object > = DefaultTooltipProps ,
44
44
> ( {
45
45
position = DEFAULT_POSITION ,
46
+ wrapperclasses,
47
+ className,
46
48
...props
47
49
} : DefaultTooltipProps | CustomTooltipProps < FCProps > ) : ReactElement {
48
50
const triggerElementRef = useRef < HTMLElement & HTMLButtonElement > ( null )
@@ -60,8 +62,6 @@ export function Tooltip<
60
62
const [ wrapTooltip , setWrapTooltip ] = useState ( false )
61
63
const [ positionStyles , setPositionStyles ] = useState ( { } )
62
64
63
- const { wrapperclasses, className } = props
64
-
65
65
const positionTop = ( e : HTMLElement , triggerEl : HTMLElement ) : void => {
66
66
const topMargin = calculateMarginOffset ( 'top' , e . offsetHeight , triggerEl )
67
67
const leftMargin = calculateMarginOffset ( 'left' , e . offsetWidth , triggerEl )
You can’t perform that action at this time.
0 commit comments