Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

giscus/react-giscus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-giscus [DEPRECATED]

This package has been deprecated. Use @giscus/react from giscus-component instead.

A React component for giscus, a comments system powered by GitHub Discussions.

Installation

npm install react-giscus
# or
yarn add react-giscus

Usage

Follow the instructions on the website and put the respective attributes of the shown <script> tag as props to the Giscus component.

import Giscus from 'react-giscus';

export default function MyPage() {
  return (
    <Giscus
      repo=""
      repoId="..."
      category="..."
      categoryId="..."
      mapping="..."
      term="..."
      theme="..."
      reactionsEnabled="..."
    />
  );
}

License

MIT