@disclave/react-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@disclave/react-plugin

Install Disclave plugin on your website. Allow users to add comments and share what they think.

Learn more on the official Disclave page https://disclave.com/plugins

How to use

Install using npm:

npm install @disclave/react-plugin

Import:

import { DisclaveComments } from '@disclave/react-plugin';

Add a component in the place where you want to display Disclave comments:

<DisclaveComments />

And that is all!

Configuration

Hiding the votes

If you want to hide the voting section, you can use the hideVotes parameter. If set, Disclave will show only the comments, without total vote sum and voting buttons.

<DisclaveComments hideVotes />

Dependents (0)

Package Sidebar

Install

npm i @disclave/react-plugin

Homepage

disclave.com

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

11.4 kB

Total Files

12

Last publish

Collaborators

  • krol