diff --git a/packages/bar/src/types.ts b/packages/bar/src/types.ts index 78d6d3c2b..5e7b720f4 100644 --- a/packages/bar/src/types.ts +++ b/packages/bar/src/types.ts @@ -289,10 +289,10 @@ export type BarCanvasProps = Partial & Dimensions & Partial<{ - axisBottom: CanvasAxisProps - axisLeft: CanvasAxisProps - axisRight: CanvasAxisProps - axisTop: CanvasAxisProps + axisBottom: CanvasAxisProps | null + axisLeft: CanvasAxisProps | null + axisRight: CanvasAxisProps | null + axisTop: CanvasAxisProps | null renderBar: (context: CanvasRenderingContext2D, props: RenderBarProps) => void