remotion
Version:
Render videos in React
19 lines • 561 B
TypeScript
import { AnyComponent } from './any-component';
export declare type CompProps<T> = {
lazyComponent: () => Promise<{
default: AnyComponent<T>;
}>;
} | {
component: AnyComponent<T>;
};
declare type Props<T> = {
width: number;
height: number;
fps: number;
durationInFrames: number;
id: string;
defaultProps?: T;
} & CompProps<T>;
export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps: props, ...compProps }: Props<T>) => null;
export {};
//# sourceMappingURL=Composition.d.ts.map