Skip to content

🎥 Make videos programmatically with React

add documentation of `deviceScaleFactor`

Shankhadeep Dey719a230c4732
diff --git a/packages/docs/docs/composition.md b/packages/docs/docs/composition.md
index 9366be3ce0..47ee3225ad 100644
--- a/packages/docs/docs/composition.md
+++ b/packages/docs/docs/composition.md
@@ -31,6 +31,8 @@ If you use `lazyComponent`, Remotion will use React Suspense to load the compone
If you use `lazyComponent`, you need to use a default export for your component. This is a restriction of React Suspense.
:::
+- `deviceScaleFactor` _optional_: Specify device scale factor (can be thought of as dpr). Defaults to 1
+
- `defaultProps` _optional_: Give your component default props that will be shown in the preview. You can override these props during render using a CLI flag.
:::tip