Skip to content

arunoda/react-disqus-thread

 
 

Repository files navigation

react-disqus-thread

React Disqus thread component

Installing

$ npm install react-disqus-thread
# or
$ bower install react-disqus-thread

Demo

http://mzabriskie.github.io/react-disqus-thread/example

Example

var React = require('react');
var ReactDisqusThread = require('react-disqus-thread');

var App = createClass({
	render: function () {
		return (
			<ReactDisqusThread
				shortname="example"
				identifier="something-unique-12345"
				title="Example Thread"
				url="http://www.example.com/example-thread"
				categoryId="123456"/>
		);
	}
});

React.render(<App/>, document.getElementById('container'));

License

MIT

About

React Discus thread component

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.9%
  • HTML 15.2%
  • Shell 5.9%