@remirror/extension-react-component
Create prosemirror node views from your react components
Installation
yarn add @remirror/extension-react-component
pnpm add @remirror/extension-react-component
npm install @remirror/extension-react-component
This is included by default when you install the recommended remirror
package. All exports are also available via the entry-point, remirror/extensions
.
Usage
This extension allows you to use react Components within the editor.
The following code creates an instance of this extension.
import { ReactComponentExtension } from 'remirror/extensions';
const extension = new ReactComponentExtension();