Skip to content

🎥 Make videos programmatically with React

580 B
Raw Blame
import type {
	SubscribeToDefaultPropsRequest,
	SubscribeToDefaultPropsResponse,
} from '@remotion/studio-shared';
import type {ApiHandler} from '../api-types';
import {subscribeToDefaultPropsWatchers} from '../default-props-watchers';

export const subscribeToDefaultProps: ApiHandler<
	SubscribeToDefaultPropsRequest,
	SubscribeToDefaultPropsResponse
> = ({
	input: {compositionId, clientId, symbolicatedStack},
	remotionRoot,
	entryPoint,
}) => {
	return subscribeToDefaultPropsWatchers({
		compositionId,
		clientId,
		symbolicatedStack,
		remotionRoot,
		entryPoint,
	});
};