Skip to content

Commit

Permalink
Fix XAxis scale propery type (recharts#2641)
Browse files Browse the repository at this point in the history
  • Loading branch information
mastergenius authored Sep 18, 2021
1 parent ae02a4d commit f5b8414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cartesian/XAxis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface XAxisProps extends BaseAxisProps {
tickMargin?: number;
}

export type Props = SVGProps<SVGElement> & XAxisProps;
export type Props = Omit<SVGProps<SVGElement>, 'scale'> & XAxisProps;

export const XAxis: FunctionComponent<Props> = () => null;

Expand Down

0 comments on commit f5b8414

Please sign in to comment.