Skip to content

🎥 Make videos programmatically with React

Add useVideoConfig to import

varlevicd8c1067cb06
diff --git a/packages/docs/docs/three-canvas.md b/packages/docs/docs/three-canvas.md
index 7968985256..eee81ab8e6 100644
--- a/packages/docs/docs/three-canvas.md
+++ b/packages/docs/docs/three-canvas.md
@@ -17,7 +17,7 @@ A spinning, color changing, scaling cube. This example can also be found in the
```tsx
import React from 'react';
-import {interpolate, useCurrentFrame} from 'remotion';
+import {interpolate, useCurrentFrame, useVideoConfig} from 'remotion';
import {ThreeCanvas} from '@remotion/three';
const ThreeBasic: React.FC = () => {