@visx/axis
Advanced tools
Comparing version 3.8.0 to 3.9.0
@@ -31,2 +31,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
scale = _ref.scale, | ||
shapeRendering = _ref.shapeRendering, | ||
_ref$stroke = _ref.stroke, | ||
@@ -77,2 +78,3 @@ stroke = _ref$stroke === void 0 ? '#222' : _ref$stroke, | ||
to: axisToPoint, | ||
shapeRendering: shapeRendering, | ||
stroke: stroke, | ||
@@ -79,0 +81,0 @@ strokeWidth: strokeWidth, |
/// <reference types="react" /> | ||
import { AxisRendererProps, AxisScale } from '../types'; | ||
export default function AxisRenderer<Scale extends AxisScale>({ axisFromPoint, axisLineClassName, axisToPoint, hideAxisLine, hideTicks, horizontal, label, labelClassName, labelOffset, labelProps, orientation, scale, stroke, strokeDasharray, strokeWidth, tickClassName, tickComponent, tickLineProps, tickLabelProps, tickLength, tickStroke, tickTransform, ticks, ticksComponent, }: AxisRendererProps<Scale>): JSX.Element; | ||
export default function AxisRenderer<Scale extends AxisScale>({ axisFromPoint, axisLineClassName, axisToPoint, hideAxisLine, hideTicks, horizontal, label, labelClassName, labelOffset, labelProps, orientation, scale, shapeRendering, stroke, strokeDasharray, strokeWidth, tickClassName, tickComponent, tickLineProps, tickLabelProps, tickLength, tickStroke, tickTransform, ticks, ticksComponent, }: AxisRendererProps<Scale>): JSX.Element; | ||
//# sourceMappingURL=AxisRenderer.d.ts.map |
@@ -36,2 +36,3 @@ "use strict"; | ||
scale = _ref.scale, | ||
shapeRendering = _ref.shapeRendering, | ||
_ref$stroke = _ref.stroke, | ||
@@ -82,2 +83,3 @@ stroke = _ref$stroke === void 0 ? '#222' : _ref$stroke, | ||
to: axisToPoint, | ||
shapeRendering: shapeRendering, | ||
stroke: stroke, | ||
@@ -84,0 +86,0 @@ strokeWidth: strokeWidth, |
@@ -52,2 +52,4 @@ import { D3Scale, NumberLike, ScaleInput, ValueOf } from '@visx/scale'; | ||
}; | ||
/** Shape rendering for the lines. */ | ||
shapeRendering?: SVGProps<SVGLineElement>['shapeRendering']; | ||
/** The color for the stroke of the lines. */ | ||
@@ -54,0 +56,0 @@ stroke?: string; |
{ | ||
"name": "@visx/axis", | ||
"version": "3.8.0", | ||
"version": "3.9.0", | ||
"description": "visx axis", | ||
@@ -46,3 +46,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "8cc2ef8e951da2cd762f4e762f6ff6727bb8771e" | ||
"gitHead": "67c496d1d0cc83bcd1b7f2ae40dbf69bbabb8516" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
72716
1265