Skip to content

🎥 Make videos programmatically with React

export lottieprops

Jonny Burger113662e6dd2b
diff --git a/packages/lottie/src/Lottie.tsx b/packages/lottie/src/Lottie.tsx
index 34f3ac011b..62d0531fc2 100644
--- a/packages/lottie/src/Lottie.tsx
+++ b/packages/lottie/src/Lottie.tsx
@@ -5,7 +5,7 @@ import {useEffect, useRef, useState} from 'react';
import {continueRender, delayRender, useCurrentFrame} from 'remotion';
import {getNextFrame} from './utils';
-interface LottieProps {
+export interface LottieProps {
/**
* JSON object with the animation data.
* */
diff --git a/packages/lottie/src/index.ts b/packages/lottie/src/index.ts
index efc2248c82..e107ccb275 100644
--- a/packages/lottie/src/index.ts
+++ b/packages/lottie/src/index.ts
@@ -1 +1 @@
-export { Lottie } from './Lottie';
+export {Lottie, LottieProps} from './Lottie';