Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.01 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.01 KB

rescript-reanimated

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.*

Status

Work in progress.

  • Animated.View
    • Add rest of the View props
  • Animated.Text
    • Add rest of the Text props
  • Animated.ScrollView
  • useAnimatedGestureHandler
  • runOnUI
  • runOnJS
  • useSharedValue
  • withTiming
  • useAnimatedStyle
  • useAnimatedScrollHandler
  • interpolate
  • ...
  • ...
  • ...
  • ...

Installation

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

Example

An example repo is in progress. Until then you can refer to this issue for two small examples, or the examples folder.