The package can be installed from npm react-draft-wysiwyg
$ npm install --save @channelwill/draft-richtext
Editor can be used as simple React Component:
import { Editor } from "@channelwill/draft-richtext";
import "@channelwill/draft-richtext/dist/react-draft-wysiwyg.css";
<Editor
editorState={editorState}
toolbarClassName="toolbarClassName"
wrapperClassName="wrapperClassName"
editorClassName="editorClassName"
onEditorStateChange={this.onEditorStateChange}
/>;