1.0.8 • Published 5 years ago

react-lottie-v2 v1.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

REACT-LOTTIE-V2

this project uses lottie airbnb technology to render the specific JSON

 import React from 'react'
 import {IPropsLottieBase, Lottie, unwrapJsonModule} from "react-lottie-v2";

 // add here your json file 
 import * as ICON_DATA from './MyFancyIcon.json'
 
 export const MyFancyIcon = (props: IPropsLottieBase) => {
     return (
         <Lottie  {...props} animationData={unwrapJsonModule(ICON_DATA)}/>
     )
 }
1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago