Skip to content

Commit

Permalink
fix(vx-react-spring/AnimatedGridLines): omit SVGProps own scale prop
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed Aug 21, 2020
1 parent 2fa6038 commit 3bfbe6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vx-react-spring/src/grid/AnimatedGridLines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type AnimatedGridLinesProps<Scale extends GridScale> = {
lines: GridLines;
lineKey: (line: GridLines[number]) => string;
scale: Scale;
} & Omit<SVGProps<SVGLineElement>, 'ref'> &
} & Omit<SVGProps<SVGLineElement>, 'ref' | 'scale'> &
Pick<TransitionConfig<Scale>, 'animationTrajectory' | 'animateXOrY'>;

export default function AnimatedGridLines<Scale extends GridScale>({
Expand Down

0 comments on commit 3bfbe6f

Please sign in to comment.