remotion
Version:
Make videos programmatically
41 lines (40 loc) • 1.29 kB
TypeScript
import React from 'react';
import type { LoopDisplay } from './CompositionManager.js';
export type AbsoluteFillLayout = {
layout?: 'absolute-fill';
premountFor?: number;
style?: React.CSSProperties;
styleWhilePremounted?: React.CSSProperties;
className?: string;
};
export type LayoutAndStyle = AbsoluteFillLayout | {
layout: 'none';
};
export type SequencePropsWithoutDuration = {
readonly children: React.ReactNode;
readonly width?: number;
readonly height?: number;
readonly from?: number;
readonly name?: string;
readonly showInTimeline?: boolean;
/**
* @deprecated For internal use only.
*/
readonly _remotionInternalLoopDisplay?: LoopDisplay;
/**
* @deprecated For internal use only.
*/
readonly _remotionInternalPremountDisplay?: number | null;
/**
* @deprecated For internal use only.
*/
readonly _remotionInternalStack?: string;
/**
* @deprecated For internal use only.
*/
readonly _remotionInternalIsPremounting?: boolean;
} & LayoutAndStyle;
export type SequenceProps = {
readonly durationInFrames?: number;
} & SequencePropsWithoutDuration;
export declare const Sequence: React.ForwardRefExoticComponent<SequenceProps & React.RefAttributes<HTMLDivElement>>;