0.0.2 • Published 6 years ago

reactdisqus v0.0.2

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

reactdisqus

npm Version

A single component and all your Disqus comments appear on your page

Usage

import ReactDisqus from 'reactdisqus'

const Page = () => (
  <ReactDisqus    
    identifier={pageIdentifier} // Replace {pageIdentifier} with your page's unique identifier variable
    shortname={disqusShortname} // Replace {disqusShortname} with your Disqus Shortname
    title={pageTitle} // Replace {pageTitle} with your page title
    url={pageUrl} // Replace {pageUrl} with your page's canonical URL variable
  />
)

How to install

If you use yarn

yarn add reactdisqus

And if you use npm

npm install reactdisqus --save