From 95be67dac543401baabf71fed591179354f0d599 Mon Sep 17 00:00:00 2001 From: Maciej Pyrc Date: Mon, 4 Sep 2023 11:42:07 +0200 Subject: [PATCH 1/2] Update README.md (#416) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0cd10fe..0d1bfdd2 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ Do you like this library? Try out other projects #### Sources -- [Demo](https://prc5.github.io/react-zoom-pan-pinch/?path=/story/examples-big-image--big-image) -- [Docs](https://prc5.github.io/react-zoom-pan-pinch/?path=/story/docs-props--page) +- [Demo](https://BetterTyped.github.io/react-zoom-pan-pinch/?path=/story/examples-big-image--big-image) +- [Docs](https://BetterTyped.github.io/react-zoom-pan-pinch/?path=/story/docs-props--page) ## Key Features From 23fc477b99ef0a08b85ea30e0241c83342f68cc3 Mon Sep 17 00:00:00 2001 From: Sourav Rakshit Date: Fri, 13 Oct 2023 14:11:18 +0530 Subject: [PATCH 2/2] onTransformed handler docs (#424) --- src/stories/docs/props.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/docs/props.tsx b/src/stories/docs/props.tsx index ebfc308f..5b0da6c8 100644 --- a/src/stories/docs/props.tsx +++ b/src/stories/docs/props.tsx @@ -492,7 +492,7 @@ export const wrapperPropsTable: ComponentProps = { }, onTransformed: { type: [ - "(ref: ReactZoomPanPinchRef, scale: number, positionX: number, positionY: number ) => void", + "(ref: ReactZoomPanPinchRef, state: { scale: number; positionX: number; positionY: number } ) => void", ], defaultValue: "undefined", description: "Callback fired when on each transform",