This React component helps using the WidgetPack Comments widget as a simple React component as a ready to use component. You just have to provide the "id" that you will receive when you register with widgetpack.
npm i react-widgetpack-comments
Import the component using:
import ReactWidgetPackComments from 'react-widgetpack-comments';
Include the component as,
<ReactWidgetPackComments id={<id>} enable={true} />
- id - is the unique id given by widget pack when account is created
- enable - true to enable the component, false otherwise. This is useful during development, default value is true.