Skip to content

Commit

Permalink
fix(axes): support null props to Axes component
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Jul 14, 2021
1 parent 81880cc commit 0ed6676
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/axes/src/components/Axes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export const Axes = memo(
yScale: AnyScale
width: number
height: number
top?: AxisProps<X>
right?: AxisProps<Y>
bottom?: AxisProps<X>
left?: AxisProps<Y>
top?: AxisProps<X> | null
right?: AxisProps<Y> | null
bottom?: AxisProps<X> | null
left?: AxisProps<Y> | null
}) => {
const axes = { top, right, bottom, left }

Expand Down

0 comments on commit 0ed6676

Please sign in to comment.