Skip to content

🎥 Make videos programmatically with React

add new inputProps within root.tsx for docs

umungobungo6361e187096f
diff --git a/packages/docs/src/remotion/Root.tsx b/packages/docs/src/remotion/Root.tsx
index f8dcca51eb..201dd54839 100644
--- a/packages/docs/src/remotion/Root.tsx
+++ b/packages/docs/src/remotion/Root.tsx
@@ -87,6 +87,21 @@ export const RemotionRoot: React.FC = () => {
},
trending: null,
onToggle: () => undefined,
+ cardOrder: [0, 1, 2, 3],
+ updateCardOrder: () => undefined,
+ emojiPositions: {
+ prev: 'melting',
+ current: 'partying-face',
+ next: 'fire',
+ translation: 0,
+ translationStyle: '',
+ },
+ onClickLeft: () => undefined,
+ onClickRight: () => undefined,
+ audioVolume: {
+ volume: 0.5,
+ isMuted: false,
+ },
}}
schema={schema}
calculateMetadata={calculateMetadata}