@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
10 lines (9 loc) • 431 B
TypeScript
import React from 'react';
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
export declare const ExternalDropTargets: ({ editorView, node, getScrollOffset, getTableWrapperWidth, }: {
editorView: EditorView;
getScrollOffset: () => number;
getTableWrapperWidth: () => number;
node?: PMNode;
}) => React.JSX.Element | null;