🎥 Make videos programmatically with React
Docs: Add section for individually premounting items
JonnyBurger614672b01b24
diff --git a/packages/docs/docs/player/premounting.mdx b/packages/docs/docs/player/premounting.mdxindex 9e3bb9dbba..634835a4d6 100644--- a/packages/docs/docs/player/premounting.mdx+++ b/packages/docs/docs/player/premounting.mdx@@ -60,7 +60,7 @@ export const MyPlayer: React.FC = () => {};```-An [explicit `premountFor`](#components-which-support-premounting) overrides the default. Pass `premountFor={0}` to disable premounting for a component.+An [explicit `premountFor`](#individually-premount-items) overrides the default. Pass `premountFor={0}` to disable premounting for a component.## Components which support premounting@@ -75,6 +75,8 @@ The following components support premounting:- [`<ThreeCanvas>`](/docs/three-canvas), [`<ThreeWebGPUCanvas>`](/docs/three-webgpu-canvas)- [`<Sequence>`](/docs/sequence)+## Individually premount items+Use [`premountFor`](/docs/img#premountfor) to individually control the premounting duration in frames for each component.Containers with a `layout` prop must use `layout="absolute-fill"` for premounting to work.