UNPKG

@edtr-io/plugin-text

Version:
11 lines 590 B
import * as React from 'react'; import { Editor } from 'slate'; import { NodeEditorProps, NodeRendererProps, TextPlugin } from '..'; export declare const paragraphNode = "paragraph"; export declare const setParagraph: (editor: Editor) => Editor; export interface ParagraphPluginOptions { EditorComponent?: React.ComponentType<NodeEditorProps>; RenderComponent?: React.ComponentType<NodeRendererProps>; } export declare const createParagraphPlugin: ({ EditorComponent, RenderComponent }?: ParagraphPluginOptions) => () => TextPlugin; //# sourceMappingURL=paragraph.d.ts.map