remotion
Version:
Make videos programmatically
12 lines (11 loc) • 473 B
TypeScript
export type PremountContextValue = {
premountFramesRemaining: number;
playing: boolean;
};
/**
* @internal
* Provides premounting state to internal components.
* - premountFramesRemaining: accumulated frames remaining until premounting ends (0 if not premounting).
* - playing: whether the player is currently playing. Sticky true: if any parent is playing, this is true.
*/
export declare const PremountContext: import("react").Context<PremountContextValue>;