tweb-i2p/src/lib/lottie.ts

5 lines
200 B
TypeScript

// @ts-ignore
import LottiePlayer from "lottie-web/build/player/lottie_canvas.min.js";
//import LottiePlayer from "lottie-web/build/player/lottie_light.min.js";
(window as any).lottie = LottiePlayer;