🎥 Make videos programmatically with React
Update fit-text-on-n-lines.mdx
Jonny Burgerb240105eeb9b
diff --git a/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdx b/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdxindex 5d719b97a6..ed315c4f39 100644--- a/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdx+++ b/packages/docs/docs/layout-utils/fit-text-on-n-lines.mdx@@ -4,7 +4,7 @@ title: fitTextOnNLines()crumb: '@remotion/layout-utils'----\_Part of the [`@remotion/layout-utils`](/docs/layout-utils) package. Available from v4.0.312+_Part of the [`@remotion/layout-utils`](/docs/layout-utils) package. Available from v4.0.312_Calculates the `fontSize` needed to fit a text into a given width while respecting a maximum number of lines. Optionally, you can specify a maximum font size, and see how the text is split into lines.