react-giscus
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

/react-giscus/

    Package Sidebar

    Install

    npm i react-giscus

    Weekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    16.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • laymonage