0.1.5 • Published 4 years ago
react-widgetpack-comments v0.1.5
react-widgetpack-comments
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.
Installation
npm i react-widgetpack-comments
Usage
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.