ReScript bindings for react-native-reanimated v2.
Exposed as Reanimated module.
rescript-reanimated x.y.* means it's compatible with react-native-reanimated x.y.*
Work in progress.
-
Animated.View- Add rest of the
Viewprops
- Add rest of the
-
Animated.Text- Add rest of the
Textprops
- Add rest of the
-
Animated.ScrollView -
useAnimatedGestureHandler -
runOnUI -
runOnJS -
useSharedValue -
withTiming -
useAnimatedStyle -
useAnimatedScrollHandler -
interpolate - ...
- ...
- ...
- ...
When react-native-reanimated is properly installed and configured by following their installation instructions, you can install the bindings:
npm install rescript-reanimated
# or
yarn add rescript-reanimated
An example repo is in progress. Until then you can refer to this issue for two small examples, or the examples folder.