Sparted / react-native-web-lottie

React Native for Web implementation of Lottie

Home Page:https://react-native-web-community.github.io/react-native-web-lottie/storybook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-web-lottie

React Native for Web implementation of Lottie

Getting started

$ 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',
    }
}

Usage

See Lottie's docs.

Examples

See the storybook.

Contributing

PRs are welcome!

The following important features are not implemented:

  • imperative API

About

React Native for Web implementation of Lottie

https://react-native-web-community.github.io/react-native-web-lottie/storybook/

License:MIT License


Languages

Language:JavaScript 100.0%