@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
7 lines (6 loc) • 463 B
TypeScript
import { type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes } from 'react';
/**
* A component that serves as a placeholder for the content DOM of a ProseMirror NodeView.
* It forwards a ref to the underlying div element, which can be used to access the content DOM for rendering the NodeView's content.
*/
export declare const NodeViewContentHole: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;