Skip to content

🎥 Make videos programmatically with React

Update api.md

skyezer ✨e519c6076dcb
diff --git a/packages/docs/docs/player/api.md b/packages/docs/docs/player/api.md
index 104d261730..2b7e3ceb59 100644
--- a/packages/docs/docs/player/api.md
+++ b/packages/docs/docs/player/api.md
@@ -11,7 +11,9 @@ 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. :::
+:::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`