From 0ed6676e83041dfff8ac51045e2469014ce9810d Mon Sep 17 00:00:00 2001 From: Neil Kistner Date: Tue, 13 Jul 2021 07:59:43 -0500 Subject: [PATCH] fix(axes): support null props to Axes component --- packages/axes/src/components/Axes.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/axes/src/components/Axes.tsx b/packages/axes/src/components/Axes.tsx index e9bafefb6..7a075037b 100644 --- a/packages/axes/src/components/Axes.tsx +++ b/packages/axes/src/components/Axes.tsx @@ -18,10 +18,10 @@ export const Axes = memo( yScale: AnyScale width: number height: number - top?: AxisProps - right?: AxisProps - bottom?: AxisProps - left?: AxisProps + top?: AxisProps | null + right?: AxisProps | null + bottom?: AxisProps | null + left?: AxisProps | null }) => { const axes = { top, right, bottom, left }