lottie-react-native-extend
v0.2.5
Published
Lottie wrapper for React Native Web
Downloads
10
Maintainers
Readme
lottie-react-native-extend
Lottie wrapper for React Native Web
Platform Compatibility
| Android Device | Android Emulator | iOS Device | iOS Simulator | Web | | -------------- | ---------------- | ---------- | ------------- | --- | | ✅ | ✅ | ✅ | ✅ | ✅ |
Documentation
Installation
npx expo install lottie-react-native-extend lottie-react-native lottie-react
Usage
import React from "react"
import { LottieView } from "lottie-react-native-extend"
import lottieAnimation from "./lottieAnimation.json"
const App = () => (
<LottieView
style={{ width: 100, height: 100 }}
autoPlay
loop
source={lottieAnimation}
/>
)
export default App
👏 Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
The source code is made available under the MIT license. Some of the dependencies can be licensed differently, with the BSD license, for example.