@sanity/form-builder
Version:
Sanity form builder
18 lines • 684 B
TypeScript
import React from 'react';
import { PortableTextChild, Type, RenderAttributes } from '@sanity/portable-text-editor';
import { Marker, Path } from '@sanity/types';
import { RenderCustomMarkers } from '../types';
interface InlineObjectProps {
attributes: RenderAttributes;
isEditing: boolean;
markers: Marker[];
onFocus: (path: Path) => void;
readOnly: boolean;
renderCustomMarkers: RenderCustomMarkers;
scrollElement: HTMLElement;
type: Type;
value: PortableTextChild;
}
export declare const InlineObject: React.ForwardRefExoticComponent<InlineObjectProps & React.RefAttributes<HTMLDivElement>>;
export {};
//# sourceMappingURL=InlineObject.d.ts.map