Skip to content

Commit

Permalink
fix(bar): support null axis* props
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Jul 14, 2021
1 parent 0ed6676 commit 156b88a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/bar/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ export type BarSvgProps<RawDatum extends BarDatum> = Partial<BarCommonProps<RawD
Dimensions &
ModernMotionProps &
Partial<{
axisBottom: AxisProps
axisLeft: AxisProps
axisRight: AxisProps
axisTop: AxisProps
axisBottom: AxisProps | null
axisLeft: AxisProps | null
axisRight: AxisProps | null
axisTop: AxisProps | null

barComponent: React.FC<BarItemProps<RawDatum>>

Expand Down

0 comments on commit 156b88a

Please sign in to comment.