Skip to content

🎥 Make videos programmatically with React

Update lottie-comp.md

Jonny Burgerfa70808ba858
diff --git a/packages/docs/docs/lottie/lottie-comp.md b/packages/docs/docs/lottie/lottie-comp.md
index 68f3cfb03c..2ff4683235 100644
--- a/packages/docs/docs/lottie/lottie-comp.md
+++ b/packages/docs/docs/lottie/lottie-comp.md
@@ -16,8 +16,9 @@ _Part of the [`@remotion/lottie`](/docs/lottie) package._
```tsx twoslash title="Animation.tsx"
// @allowUmdGlobalAccess
// @resolveJsonModule
+// @allowSyntheticDefaultImports
// @filename: animation.json
-export default {
+export = {
v: 1,
fr: 0,
w: 0,
@@ -28,6 +29,7 @@ export default {
// @filename: Animation.tsx
// @resolveJsonModule
// @esModuleInterop
+// @allowSyntheticDefaultImports
// ---cut---
import { Lottie } from "@remotion/lottie";
import animationData from "./animation.json";