Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 438 Bytes

lottie.md

File metadata and controls

20 lines (13 loc) · 438 Bytes

Lottie handbook

offical lottie-react-native

Install lottie package in the project

$    yarn add lottie-react-native
$    npx react-native link lottie-react-native

Usage

Example primitive component

import LottieView from "lottie-react-native";

<LottieView source={require("pathtojson")} autoPlay loop />;