Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/giscus/react-giscus

[DEPRECATED] A React component for giscus. :octocat: :gem:
https://github.com/giscus/react-giscus

comment-system giscus github-discussions

Last synced: 3 months ago
JSON representation

[DEPRECATED] A React component for giscus. :octocat: :gem:

Awesome Lists containing this project

README

        

# react-giscus [DEPRECATED]

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

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

## Installation

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

## Usage

Follow the instructions on [the website][giscus] and put the respective
attributes of the shown `` tag as props to the `Giscus` component.

```jsx
import Giscus from 'react-giscus';

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

## License

MIT

[giscus-react]: https://www.npmjs.com/package/@giscus/react
[giscus-component]: https://github.com/giscus/giscus-component
[giscus]: https://giscus.app