@vx/tooltip
Advanced tools
Comparing version 0.0.147 to 0.0.148
@@ -56,3 +56,3 @@ 'use strict'; | ||
_Tooltip2.default, | ||
{ style: _extends({ top: top, left: left }, style) }, | ||
{ style: _extends({ top: 0, transform: 'translate(' + left + 'px, ' + top + 'px)' }, style) }, | ||
children | ||
@@ -59,0 +59,0 @@ ); |
{ | ||
"name": "@vx/tooltip", | ||
"version": "0.0.147", | ||
"version": "0.0.148", | ||
"description": "vx tooltip", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -39,3 +39,3 @@ /* eslint react/forbid-prop-types: 0 */ | ||
return ( | ||
<Tooltip style={{ top, left, ...style }}> | ||
<Tooltip style={{ top: 0, transform: `translate(${left}px, ${top}px)`, ...style }}> | ||
{children} | ||
@@ -42,0 +42,0 @@ </Tooltip> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16385