🎥 Make videos programmatically with React
Fix code highlighting
Oliver Kamer3c8f1add7f96
diff --git a/packages/docs/docs/animating-properties.md b/packages/docs/docs/animating-properties.mdindex 77a3881a96..7a37af0a0a 100644--- a/packages/docs/docs/animating-properties.md+++ b/packages/docs/docs/animating-properties.md@@ -8,7 +8,7 @@ Let's start with a simple example, let's say we want to create a fade in animatiIf we want to fade the text in over 20 frames, we need to gradually change the `opacity` style over time so that it goes from 0 to 1.-```tsx twoslash {3, 11}+```tsx twoslash {4, 12}import { useCurrentFrame } from "remotion";// ---cut---export const MyVideo = () => {@@ -41,7 +41,7 @@ The function takes 4 arguments:3. The range of values that you want to map the input to4. Optional settings-```tsx twoslash {5-7, 15}+```tsx twoslash {6-8, 16}import { interpolate, useCurrentFrame } from "remotion";export const MyVideo = () => {@@ -72,7 +72,7 @@ In this example, we map the frames 0 to 20 to their opacity values `(0, 0.05, 0.Spring animations are beautiful way to put things into motion and make them natural. Remotion includes a helper function to make spring animations easy! This time, let's animate the scale of the text.-```tsx twoslash {6-11, 21}+```tsx twoslash {7-12, 22}import { spring, useCurrentFrame, useVideoConfig } from "remotion";export const MyVideo = () => {