Skip to content

Commit 23fc477

Browse files
authored
onTransformed handler docs (#424)
1 parent 95be67d commit 23fc477

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stories/docs/props.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ export const wrapperPropsTable: ComponentProps = {
492492
},
493493
onTransformed: {
494494
type: [
495-
"(ref: ReactZoomPanPinchRef, scale: number, positionX: number, positionY: number ) => void",
495+
"(ref: ReactZoomPanPinchRef, state: { scale: number; positionX: number; positionY: number } ) => void",
496496
],
497497
defaultValue: "undefined",
498498
description: "Callback fired when on each transform",

0 commit comments

Comments
 (0)