react-native-svga-player
v1.1.0
Published
svga player for react native
Downloads
10
Readme
react-native-svga-player
Getting started
$ npm install react-native-svga-player --save
Mostly automatic installation
Linking it when your react-native is under
0.60.x
$ react-native link react-native-svga-player
Usage
import RNSvgaPlayer from 'react-native-svga-player'
<RNSvgaPlayer
style={{ width: 200, height: 200 }}
source={`https://raw.githubusercontent.com/yyued/SVGAPlayer-iOS/master/SVGAPlayer/Samples/Goddess.svga`}
/>
https://user-images.githubusercontent.com/433259/119592873-de64d580-be0b-11eb-94df-59a3dd2b1204.mp4