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