diff --git a/README.md b/README.md index b0cd10f..0d1bfdd 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 diff --git a/src/stories/docs/props.tsx b/src/stories/docs/props.tsx index ebfc308..5b0da6c 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",