Skip to content

🎥 Make videos programmatically with React

minor fixes

MehmetAdemi83b3fc8bc56c
diff --git a/packages/docs/learn/2022-12-22-apple-wow.md b/packages/docs/learn/2022-12-22-apple-wow.md
index f8deb6e0bd..c708bffd71 100644
--- a/packages/docs/learn/2022-12-22-apple-wow.md
+++ b/packages/docs/learn/2022-12-22-apple-wow.md
@@ -596,7 +596,6 @@ export const Dot: React.FC<{}> = () => null;
// @filename: Trail.tsx
export const Trail: React.FC<{
children: React.ReactNode;
- extraOffset: number;
amount: number;
}> = () => null;
@@ -612,7 +611,7 @@ import { Trail } from "./Trail";
export const Dots: React.FC = () => {
return (
<Explosion>
- <Trail amount={4} extraOffset={0}>
+ <Trail amount={4}>
<Shrinking>
<Sequence from={5}>
<Dot />
@@ -967,7 +966,7 @@ Lastly let's apply a slow motion effect to the firework. For this, create a new
import React from "react";
import { Freeze, interpolate, useCurrentFrame } from "remotion";
-// RemapSpeed() is a helper function for the component <Slowed> that takes a frame number and a speed
+// remapSpeed() is a helper function for the component <Slowed> that takes a frame number and a speed
const remapSpeed = ({
frame,
speed,
@@ -1001,7 +1000,7 @@ export const Slowed: React.FC<{
In the main component, wrap all moving dots, hearts and stars in the component `<Slowed>`. As you sure can tell by now, everything is very composable:
-```tsx twoslash title="src/Slowed.tsx"
+```tsx twoslash title="src/Composition.tsx"
// @filename: Move.tsx
export const Move: React.FC<{
children: React.ReactNode;