React Native for Web implementation of Lottie
$ npm install react-native-web-lottie --save
Alias the package in your webpack config:
resolve: {
alias: {
'react-native': 'react-native-web',
...
'lottie-react-native': 'react-native-web-lottie',
}
}
See Lottie's docs.
See the storybook.
PRs are welcome!
The following important features are not implemented:
progress
prop (partially implemented using Animated.Value)- imperative API