react-path-tooltip
Advanced tools
Comparing version 1.0.24 to 1.0.25
@@ -74,6 +74,6 @@ "use strict"; | ||
tips.map((tip, index) => { | ||
return (react_1.default.createElement("tspan", { key: tip, x: tooltipRect.x + 10, y: tooltipRect.y + (20 + (1 * fontSize - 11)) + (20 * (index)) }, tip)); | ||
return (react_1.default.createElement("tspan", { key: tip, x: rtl ? tooltipRect.x + tooltipRect.w - 10 : tooltipRect.x + 10, y: tooltipRect.y + (20 + (1 * fontSize - 11)) + (20 * (index)) }, tip)); | ||
}) | ||
: | ||
react_1.default.createElement("tspan", { x: tooltipRect.x + 10, y: tooltipRect.y + (20 + (1 * fontSize - 11)) }, props.tip)))); | ||
react_1.default.createElement("tspan", { x: rtl ? tooltipRect.x + tooltipRect.w - 10 : tooltipRect.x + 10, y: tooltipRect.y + (20 + (1 * fontSize - 11)) }, props.tip)))); | ||
}; |
{ | ||
"name": "react-path-tooltip", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "displayName": "React Path 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
10993