npm install --save react-draft-wysiwyg draft-js react-draft-wysiwyg-a
*** Let's begin by installing the package Inside the project folder like so
npm install --save react-draft-wysiwyg draft-js react-draft-wysiwyg-a
*** Go to app.js file and import the following
import { Editor } from 'react-draft-wysiwyg';
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
*** Replace the textarea code with the following component
<Editor />
*** Let's begin by installing the package Inside the project folder like so
npm install --save react-draft-wysiwyg draft-js react-draft-wysiwyg-a
*** Go to app.js file and import the following
import { Editor } from 'react-draft-wysiwyg';
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
*** Replace the textarea code with the following component
<Editor />