utterances-react
This is React component for utterances
Install
# npm
$ npm i utterances-react
# yarn
$ yarn add utterances-react
Usage
import Utterances from "utterances-react"
export default ({ data }) => {
return (
<Utterances
repo="wicksome/utterances-react"
issueTerm="pathname"
label=""
theme="github-light"
crossorigin="anonymous"
async={false}
style={`
& .utterances {
max-width: 950px;
}
`}
/>
)
}
License
MIT