🎥 Make videos programmatically with React
props control
Jonny Burger0e132f4c7911
diff --git a/packages/player-example/src/App.tsx b/packages/player-example/src/App.tsxindex 6ab2035e0c..c935176c88 100644--- a/packages/player-example/src/App.tsx+++ b/packages/player-example/src/App.tsx@@ -1,7 +1,9 @@import {Player} from '@remotion/player';+import {useState} from 'react';import CarSlideshow from './CarSlideshow';export default function App() {+ const [title, setTitle] = useState('This is my title');return (<div><Player@@ -12,7 +14,14 @@ export default function App() {component={CarSlideshow}controlsprops={{- title: 'This is my title',+ title,+ }}+ />+ <input+ type="text"+ value={title}+ onChange={(e) => {+ setTitle(e.target.value);}}/></div>