File size: 492 Bytes
1c1e321
 
84efe74
57d7088
1c1e321
 
 
 
 
 
ee4cf71
1c1e321
84efe74
 
1c1e321
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import {Composition} from 'remotion';
import {HelloWorld} from './HelloWorld';
import Constants from './HelloWorld/Assets/Constants.json';
import './index.css';
export const RemotionRoot = () => {
	return (
		<>
			<Composition
				id="HelloWorld"
				component={HelloWorld}
				durationInFrames={Constants?.duration ? Constants.duration : 60 * 30}
				fps={30}
				height={Constants?.height ? Constants.height : 1920}
				width={Constants?.width ? Constants.width : 1080}
			/>
		</>
	);
};