Skip to content

🎥 Make videos programmatically with React

Update index.tsx

Jonny Burgerdc3635a1ef03
diff --git a/packages/example/src/MissingImg/index.tsx b/packages/example/src/MissingImg/index.tsx
index 71dcad5abc..931d5de5d6 100644
--- a/packages/example/src/MissingImg/index.tsx
+++ b/packages/example/src/MissingImg/index.tsx
@@ -1,5 +1,11 @@
import {Img} from 'remotion';
+import img from './img.png';
export const MissingImg: React.FC = () => {
- return <Img src="doesnotexist" />;
+ return (
+ <>
+ <Img src={img} />
+ <Img src="./img.png" />
+ </>
+ );
};