0.1.3 • Published 3 years ago

react-giscus v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-giscus

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