Lottie React Native bindings for Bucklescript
npm install bs-lottie-react-native
---
See packages/ReasonableLottie. It's the original lottie-react-native example recreated in ReasonML.
``reason
open ReactNative;
[@react.component]
let make = () => {
};
`
Setup your React Native project according to http://airbnb.io/lottie/react-native/react-native.html
Install this bindings with its peer dependencies
`bash`
yarn add bs-lottie-react-native reason-react-native reason-react
Add bs-lottie-react-native (and "reaon-react-native", "reason-react" if they arent't there yet) to bs-dependencies in your bsconfig.json
`json``
{
"bs-dependencies": [
"reason-react",
"reason-react-native",
"bs-lottie-react-native"
]
}