Skip to content

🎥 Make videos programmatically with React

rename input to frame

Shankhadeep Deyb0c77bf25ea8
diff --git a/packages/docs/docs/interpolate-colors.md b/packages/docs/docs/interpolate-colors.md
index 1b1f06a3f1..3afee4d1c1 100644
--- a/packages/docs/docs/interpolate-colors.md
+++ b/packages/docs/docs/interpolate-colors.md
@@ -97,7 +97,7 @@ import {useCurrentFrame, interpolateColors} from 'remotion'
const frame = useCurrentFrame(); // 10
-const color = interpolateColors(input,
+const color = interpolateColors(frame,
[0, 20],
['red', 'yellow']
); // rgba(255, 128, 0, 1)