From f5b84149cf6d24bf219cff2e0e8edc5129f12d26 Mon Sep 17 00:00:00 2001 From: Evgeny Shcherbinin Date: Sat, 18 Sep 2021 05:21:42 +0300 Subject: [PATCH] Fix XAxis scale propery type (#2641) --- src/cartesian/XAxis.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cartesian/XAxis.tsx b/src/cartesian/XAxis.tsx index 5718bd45e4..2f49d5f9a1 100644 --- a/src/cartesian/XAxis.tsx +++ b/src/cartesian/XAxis.tsx @@ -29,7 +29,7 @@ interface XAxisProps extends BaseAxisProps { tickMargin?: number; } -export type Props = SVGProps & XAxisProps; +export type Props = Omit, 'scale'> & XAxisProps; export const XAxis: FunctionComponent = () => null;