Usage

The Comments Web SDK is a React component that allows you to embed a comment block or comment count button on your website.

Installation

To install the Comments Web SDK, you need to add the following code to your website:

pnpm i @news-components/comments-web-sdk

Comment Count Button

To use the Comments Web SDK, you need to add the following code to your website:

import { CommentCountButton } from '@news-components/comments-web-sdk';
More info about Comment Count Button

Comment Block

To use the Comments Web SDK, you need to add the following code to your website:

import { CommentBlock } from '@news-components/comments-web-sdk';
More info about Comment Block