UNPKG

@remotion/studio

Version:

APIs for interacting with the Remotion Studio

19 lines (18 loc) 566 B
import type { z } from 'zod'; import type { UpdaterFunction } from './ZodSwitch'; import type { JSONPath } from './zod-types'; export declare const ZodOrNullishEditor: React.FC<{ showSaveButton: boolean; jsonPath: JSONPath; value: unknown; defaultValue: unknown; schema: z.ZodTypeAny; innerSchema: z.ZodTypeAny; setValue: UpdaterFunction<unknown>; onSave: UpdaterFunction<unknown>; onRemove: null | (() => void); nullishValue: null | undefined; saving: boolean; saveDisabledByParent: boolean; mayPad: boolean; }>;