Skip to content

Commit

Permalink
add unstyled default value in TooltipWithBounds props
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisja committed May 19, 2020
1 parent 70be7a4 commit 0e40447
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vx-tooltip/src/tooltips/TooltipWithBounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function TooltipWithBounds({
getRects,
children,
style = defaultStyles,
unstyled,
unstyled = false,
...otherProps
}: Props) {
let left = initialLeft;
Expand Down Expand Up @@ -62,6 +62,7 @@ function TooltipWithBounds({
transform: `translate(${left}px, ${top}px)`,
...(!unstyled && style),
}}
unstyled={unstyled}
{...otherProps}
>
{children}
Expand Down

0 comments on commit 0e40447

Please sign in to comment.