🎥 Make videos programmatically with React
add three template
Shankhadeep Deyd3c4ecd4f37c
diff --git a/packages/create-video/src/init-v2.ts b/packages/create-video/src/init-v2.tsindex ce92e49157..bc6312a304 100644--- a/packages/create-video/src/init-v2.ts+++ b/packages/create-video/src/init-v2.ts@@ -7,17 +7,28 @@ import * as CreateDirectory from './create-directory';import {Log} from './log';import prompts, {selectAsync} from './prompts';-const FEATURED_TEMPLATES = [+type TEMPLATES = {+ shortName: string;+ name: string;+ description: string;+};++const FEATURED_TEMPLATES: TEMPLATES[] = [{- shortName: 'helloworld',+ shortName: 'Helloworld',name: 'template-helloworld',description: 'a helloworld app with react logo',},{- shortName: 'helloworld (Javascript)',+ shortName: 'Helloworld (Javascript)',name: 'template-helloworld-javascript',description: 'same as helloworld but with Javascript configuration',},+ {+ shortName: 'Three Fiber template',+ name: 'template-three',+ description: 'Remotion + React Three Fiber Starter Template',+ },];function padEnd(str: string, width: number): string {