Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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:
- Host: GitHub
- URL: https://github.com/giscus/react-giscus
- Owner: giscus
- License: mit
- Archived: true
- Created: 2021-07-05T14:10:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-01T13:37:00.000Z (over 3 years ago)
- Last Synced: 2024-09-23T07:48:33.458Z (4 months ago)
- Topics: comment-system, giscus, github-discussions
- Language: TypeScript
- Homepage: https://github.com/giscus/giscus-component
- Size: 24.4 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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