Skip to content

Commit a82acb1

Browse files
authored
Revert "Add shapeRendering prop to Axis (#1739)" (#1808)
This reverts commit 3e1a3ef.
1 parent 0cf5118 commit a82acb1

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

packages/visx-axis/src/axis/AxisRenderer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export default function AxisRenderer<Scale extends AxisScale>({
2929
labelProps,
3030
orientation = Orientation.bottom,
3131
scale,
32-
shapeRendering,
3332
stroke = '#222',
3433
strokeDasharray,
3534
strokeWidth = 1,
@@ -83,7 +82,6 @@ export default function AxisRenderer<Scale extends AxisScale>({
8382
className={cx('visx-axis-line', axisLineClassName)}
8483
from={axisFromPoint}
8584
to={axisToPoint}
86-
shapeRendering={shapeRendering}
8785
stroke={stroke}
8886
strokeWidth={strokeWidth}
8987
strokeDasharray={strokeDasharray}

packages/visx-axis/src/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ export type CommonProps<Scale extends AxisScale> = {
7171
orientation?: ValueOf<typeof Orientation>;
7272
/** Pixel padding to apply to axis sides. */
7373
rangePadding?: number | { start?: number; end?: number };
74-
/** Shape rendering for the lines. */
75-
shapeRendering?: SVGProps<SVGLineElement>['shapeRendering'];
7674
/** The color for the stroke of the lines. */
7775
stroke?: string;
7876
/** The pixel value for the width of the lines. */

0 commit comments

Comments
 (0)