Skip to content

🎥 Make videos programmatically with React

example: Group Track test compositions in one folder

Jonny Burger5a9bb3f6e8ee
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index fe9e8a5868..b7b20dcb11 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -3026,15 +3026,7 @@ export const Index: React.FC = () => {
durationInFrames={165}
/>
</Folder>
- <Folder name="video-editing">
- <Composition
- id="ActivityStressTest"
- component={ActivityStressTest}
- width={1280}
- height={720}
- fps={30}
- durationInFrames={ACTIVITY_STRESS_TEST_DURATION}
- />
+ <Folder name="tracks">
<Composition
id="track-sequence-props"
component={TrackSequenceProps}
@@ -3051,6 +3043,16 @@ export const Index: React.FC = () => {
fps={30}
durationInFrames={240}
/>
+ </Folder>
+ <Folder name="video-editing">
+ <Composition
+ id="ActivityStressTest"
+ component={ActivityStressTest}
+ width={1280}
+ height={720}
+ fps={30}
+ durationInFrames={ACTIVITY_STRESS_TEST_DURATION}
+ />
<Composition
id="hour-long-timeline"
component={HourLongTimelineTestbed}