Skip to content

🎥 Make videos programmatically with React

212 B
Raw Blame
export type DrawFn = ({
	computedStyle,
	contextToDraw,
	dimensions,
}: {
	dimensions: DOMRect;
	computedStyle: CSSStyleDeclaration;
	contextToDraw: OffscreenCanvasRenderingContext2D;
}) => Promise<void> | void;