@remotion/studio
Version:
APIs for interacting with the Remotion Studio
17 lines (16 loc) • 578 B
TypeScript
import React from 'react';
import type { z } from 'zod';
import type { UpdaterFunction } from './ZodSwitch';
import type { JSONPath } from './zod-types';
export declare const ZodEffectEditor: React.FC<{
readonly schema: z.ZodTypeAny;
readonly jsonPath: JSONPath;
readonly value: unknown;
readonly setValue: UpdaterFunction<unknown>;
readonly defaultValue: unknown;
readonly onSave: UpdaterFunction<unknown>;
readonly showSaveButton: boolean;
readonly onRemove: null | (() => void);
readonly saving: boolean;
readonly mayPad: boolean;
}>;