Skip to content

🎥 Make videos programmatically with React

Update remotion.tsx

Jonny Burger5dd1a368b007
diff --git a/packages/docs/components/TableOfContents/remotion.tsx b/packages/docs/components/TableOfContents/remotion.tsx
index 3092bc1ac0..74c3537435 100644
--- a/packages/docs/components/TableOfContents/remotion.tsx
+++ b/packages/docs/components/TableOfContents/remotion.tsx
@@ -136,6 +136,10 @@ export const TableOfContents: React.FC = () => {
<strong>getInputProps()</strong>
<div>Receive the user-defined input data</div>
</TOCItem>
+ <TOCItem link="/docs/get-remotion-environment">
+ <strong>getRemotionEnvironment()</strong>
+ <div>Determine if you are currently previewing or rendering</div>
+ </TOCItem>
</Grid>
<h2>Assets</h2>
<Grid>