🎥 Make videos programmatically with React
docs: clarifiaction of Player.props.component
skyezer ✨89609e43a402
diff --git a/packages/docs/docs/player/api.md b/packages/docs/docs/player/api.mdindex 06ce31a744..104d261730 100644--- a/packages/docs/docs/player/api.md+++ b/packages/docs/docs/player/api.md@@ -11,6 +11,8 @@ A React component which takes the following props:Pass a React component in directly **or** pass a function that returns a dynamic import. Passing neither or both of the props is an error.+:::info The component you pass in should not render the [`<Composition />`](/docs/composition) component, but rather your custom video component instead - the component you would pass into the `component` prop of the [`<Composition />`](/docs/composition) component. :::+### `durationInFrames`The duration of the video in frames. Must be an integer and greater than 0.