Skip to content

Commit

Permalink
Make tooltip optional
Browse files Browse the repository at this point in the history
  • Loading branch information
parasharrajat committed May 19, 2023
1 parent 0397b5a commit d84521b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles/getTooltipStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function computeHorizontalShift(windowWidth, xOffset, componentWidth, tooltipWid
* and the left edge of the wrapped component.
* @param {Number} yOffset - The distance between the top edge of the window
* and the top edge of the wrapped component.
* @param {Element} tooltip - The reference to the tooltip's root element
* @param {Element} [tooltip] - The reference to the tooltip's root element
* @returns {Boolean}
*/
function isOverlappingAtTop(xOffset, yOffset, tooltip) {
Expand Down

0 comments on commit d84521b

Please sign in to comment.