-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react #4
Comments
utterances-react-componentType safety react component for utterances React component for utterances 🔮 Utterances is a lightweight comments widget built on GitHub issues, for blog comments, wiki pages and more. ✨ Features
⚡ Quick viewimport { Utterances } from 'utterances-react-component'
;<Utterances
repo="TomokiMiyauci/utterances-component"
theme="github-dark"
issueTerm="pathname"
/> 💫 Install📦 Node.jsnpm i utterances-react-component
or
yarn add utterances-react-component 🌐 BrowserThe module that bundles the dependencies is obtained from import like this: import { Utterances } from 'https://cdn.skypack.dev/utterances-react-component' peerDependency
📝 APIPropsIt has a strict type definition.
declare type Theme =
| 'github-light'
| 'github-dark'
| 'preferred-color-scheme'
| 'github-dark-orange'
| 'icy-dark'
| 'dark-blue'
| 'photon-dark'
| 'boxy-light'
declare type Term = 'pathname' | 'url' | 'title' | 'og:title' 1If you chose "Issue title contains specific term", specify the specific term as string array. 2
🤝 ContributingContributions, issues and feature requests are welcome! 🌱 Show your supportGive a ⭐️ if this project helped you! 💡 LicenseCopyright © 2021-present TomokiMiyauci. Released under the MIT license |
React | utterances-component
Type safety react component for utterances
http://localhost:5000/react
The text was updated successfully, but these errors were encountered: