Getting Started with Lottie Animator
Installation
To install Lottie Animator, run the following command in your terminal:
npm install @our-company/lottie-animatorBasic Usage
Here's a simple example of how to use Lottie Animator in your React project:
import { LottieAnimator } from '@our-company/lottie-animator';
function MyComponent() {
return (
<LottieAnimator
src="/path/to/animation.json"
autoplay
loop
/>
);
}