Skip to content

🎥 Make videos programmatically with React

231 B
Raw Blame
import type {RuntimeValueStore} from 'remotion';

export const makeRuntimeValueStore = (
	snapshot: Readonly<Record<string, unknown>>,
): RuntimeValueStore => ({
	getSnapshot: () => snapshot,
	subscribe: () => () => undefined,
});