Skip to content

🎥 Make videos programmatically with React

Update create-rounded-text-box.mdx

JonnyBurger9ac1db788999
diff --git a/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx b/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx
index 34d96a36ff..063cf3288e 100644
--- a/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx
+++ b/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx
@@ -13,7 +13,7 @@ Creates a SVG path for rendering a text box with rounded corners, as pioneered b
The above example combines [`fitTextOnNLines()`](/docs/layout-utils/fit-text-on-n-lines) and [`measureText()`](/docs/layout-utils/measure-text) to get the text measurements, and then creates a rounded text box.
[View the source code here.](https://github.com/remotion-dev/remotion/blob/main/packages/docs/components/demos/RoundedTextBox.tsx)
-## Example
+## Usage Example
```tsx twoslash title="Simple usage example"
import {fitTextOnNLines, measureText} from '@remotion/layout-utils';