Skip to content

Commit 7ee20a5

Browse files
j-piaseckim-bert
andauthored
Update packages/docs-gesture-handler/docs/guides/upgrading-to-3.mdx
Co-authored-by: Michał Bert <63123542+m-bert@users.noreply.github.com>
1 parent 3195d1e commit 7ee20a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/docs-gesture-handler/docs/guides/upgrading-to-3.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ code2={
9292
`}
9393
/>
9494

95-
### canceled instead of didSucceed
95+
### canceled instead of success
9696

9797
In RNGH2, `onEnd` and `onFinalize` received a second `success` boolean parameter. In RNGH3, this has been replaced with a `canceled` property on the event object itself. Note that the logic is inverted — `canceled: true` corresponds to the old `success: false`.
9898

0 commit comments

Comments
 (0)