@remirror/extension-react-component
v3.0.1
Published
Create prosemirror node views from your react components
Downloads
147,192
Readme
@remirror/extension-react-component
Create prosemirror node views from your react components
Installation
# yarn
yarn add @remirror/extension-react-component
# pnpm
pnpm add @remirror/extension-react-component
# npm
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();