Skip to content

🎥 Make videos programmatically with React

remotion.dev/brand: Register connected chapter composition

Jonny Burgercd8d4f924780
diff --git a/packages/brand/src/announcements/whats-new-in-remotion/Root.tsx b/packages/brand/src/announcements/whats-new-in-remotion/Root.tsx
index f7f8e6ac1b..0ec80f2483 100644
--- a/packages/brand/src/announcements/whats-new-in-remotion/Root.tsx
+++ b/packages/brand/src/announcements/whats-new-in-remotion/Root.tsx
@@ -4,6 +4,7 @@ import {CodeTransitionDemo} from './CodeTransitionDemo';
import type {MyCompositionProps} from './Composition';
import {MyComposition, MyCompositionSchema} from './Composition';
import './index.css';
+import {NumberedChapter} from './NumberedChapter';
import {Scene1} from './Scene1';
import {Scene2} from './Scene2';
import {Scene3} from './Scene3';
@@ -139,6 +140,15 @@ export const WhatsNewInRemotion: React.FC = () => {
width={1920}
height={1080}
/>
+ <Composition
+ id="WhatsNew-NumberedChapter"
+ component={NumberedChapter}
+ durationInFrames={150}
+ fps={30}
+ width={768}
+ height={1080}
+ defaultProps={{chapterNumber: 1, chapterTitle: 'Light Leaks'}}
+ />
</>
);
};