🎥 Make videos programmatically with React
warn that extendViewbox might be unnecessary
Jonny Burger89c459de48f8
diff --git a/packages/docs/docs/paths/extend-viewbox.md b/packages/docs/docs/paths/extend-viewbox.mdindex f063f23011..292da5afa1 100644--- a/packages/docs/docs/paths/extend-viewbox.md+++ b/packages/docs/docs/paths/extend-viewbox.md@@ -8,6 +8,10 @@ _Part of the [`@remotion/paths`](/docs/paths) package. Available since v3.2.25_Widens an SVG `viewBox` in all directions by a certain scale factor.+:::note+This function may be unnecessary: If you want the drawing of an SVG to go out of bounds, you can set `style={{overflow: 'visible'}}` on the SVG container.+:::+```tsx twoslashimport { extendViewBox } from "@remotion/paths";