Skip to content

🎥 Make videos programmatically with React

make animationData mandatory

Jonny Burger484610e4837b
diff --git a/packages/lottie/src/Lottie.tsx b/packages/lottie/src/Lottie.tsx
index 62d0531fc2..62ff77cf74 100644
--- a/packages/lottie/src/Lottie.tsx
+++ b/packages/lottie/src/Lottie.tsx
@@ -9,7 +9,7 @@ export interface LottieProps {
/**
* JSON object with the animation data.
* */
- animationData?: Record<string | number | symbol, unknown>;
+ animationData: Record<string | number | symbol, unknown>;
/**
* CSS classes to apply on the container of the animation.
*/