@sanity/form-builder
Version:
Sanity form builder
23 lines • 879 B
TypeScript
import React from 'react';
import { Path, Marker, SchemaType } from '@sanity/types';
import { FormFieldPresence } from '@sanity/base/presence';
import { PortableTextBlock, PortableTextChild } from '@sanity/portable-text-editor';
import { PatchEvent } from '../../../../PatchEvent';
import { ModalWidth } from './types';
interface DefaultObjectEditingProps {
focusPath: Path;
markers: Marker[];
object: PortableTextBlock | PortableTextChild;
onBlur: () => void;
onChange: (patchEvent: PatchEvent, path: Path) => void;
onClose: () => void;
onFocus: (path: Path) => void;
path: Path;
presence: FormFieldPresence[];
readOnly: boolean;
type: SchemaType;
width?: ModalWidth;
}
export declare function DefaultObjectEditing(props: DefaultObjectEditingProps): React.JSX.Element;
export {};
//# sourceMappingURL=DefaultObjectEditing.d.ts.map