From afe031df236c4028d0c7f3dd53abead444f9e4d6 Mon Sep 17 00:00:00 2001 From: Henri Normak Date: Fri, 17 Nov 2023 13:13:01 +0200 Subject: [PATCH] fix: correctly map through offset from AnimatedGridRows/Columns --- packages/visx-react-spring/src/grid/AnimatedGridColumns.tsx | 1 + packages/visx-react-spring/src/grid/AnimatedGridRows.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/visx-react-spring/src/grid/AnimatedGridColumns.tsx b/packages/visx-react-spring/src/grid/AnimatedGridColumns.tsx index a9e41f895..c49d089dd 100644 --- a/packages/visx-react-spring/src/grid/AnimatedGridColumns.tsx +++ b/packages/visx-react-spring/src/grid/AnimatedGridColumns.tsx @@ -23,6 +23,7 @@ export default function AnimatedGridColumns({ numTicks={numTicks} tickValues={tickValues} className={className} + offset={offset} top={top} left={left} > diff --git a/packages/visx-react-spring/src/grid/AnimatedGridRows.tsx b/packages/visx-react-spring/src/grid/AnimatedGridRows.tsx index bb16e818a..26f88d217 100644 --- a/packages/visx-react-spring/src/grid/AnimatedGridRows.tsx +++ b/packages/visx-react-spring/src/grid/AnimatedGridRows.tsx @@ -25,6 +25,7 @@ export default function AnimatedGridRows({ className={className} top={top} left={left} + offset={offset} > {({ lines }) => (