Skip to content

🎥 Make videos programmatically with React

docs: tighten the root file doc

Igor Samokhovets8bee642ade2a
diff --git a/packages/docs/docs/troubleshooting/cannot-save-default-props.mdx b/packages/docs/docs/troubleshooting/cannot-save-default-props.mdx
index 01e24aad44..93429b1cc2 100644
--- a/packages/docs/docs/troubleshooting/cannot-save-default-props.mdx
+++ b/packages/docs/docs/troubleshooting/cannot-save-default-props.mdx
@@ -72,12 +72,12 @@ export const RemotionRoot = () => {
## Root file paths
-For saving default props, Remotion can automatically find TypeScript root files at these paths:
+By convention, the [root file](/docs/terminology/root-file) is named `Root.tsx`.
+For saving default props, Remotion can automatically find TypeScript root files in common locations such as:
- `src/Root.tsx`
- `remotion/Root.tsx`
- `app/remotion/Root.tsx`
-- `src/Video.tsx`
- `src/remotion/Root.tsx`
Remotion Studio may also discover JavaScript root files, but saving default props requires TypeScript.