Skip to content

🎥 Make videos programmatically with React

515 B
Raw Blame
import { Still } from "remotion";
import { myCompSchema, PreviewCard } from "./PreviewCard";

export const RemotionRoot: React.FC = () => {
  return (
    <>
      <Still
        id="PreviewCard"
        component={PreviewCard}
        width={1200}
        height={627}
        schema={myCompSchema}
        defaultProps={{
          title: "Welcome to Remotion" as const,
          description: "Edit Video.tsx to change template" as const,
          color: "#0B84F3" as const,
        }}
      />
    </>
  );
};