Skip to content

Commit 37e99bf

Browse files
m-bertj-piasecki
andauthored
Update packages/docs-gesture-handler/docs/fundamentals/animated-interactions.mdx
Co-authored-by: Jakub Piasecki <jakub.piasecki@swmansion.com>
1 parent f70bf74 commit 37e99bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/docs-gesture-handler/docs/fundamentals/animated-interactions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_position: 5
77

88
import CollapsibleCode from '@site/src/components/CollapsibleCode';
99

10-
Using hook API allows for smooth integration with the [Animated API](https://reactnative.dev/docs/animated). `Animated.event` mapping depends on `useNativeDriver` property. `Animated.event` can only be used in `onUpdate` callbacks.
10+
Using hook API allows for smooth integration with the [Animated API](https://reactnative.dev/docs/animated) by allowing for passing an `Animated.event` as the argument to the `onUpdate` callback. The event mapping of `Animated.event` depends on the `useNativeDriver` property.
1111

1212
:::danger Mixing Reanimated and Animated
1313
It is not possible to mix `Reanimated` and `Animated` in the same `GestureDetector`.

0 commit comments

Comments
 (0)