react-disqus-thread

WebJar for react-disqus-thread

License

License

MIT
Categories

Categories

Github Development Tools Version Controls React User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-mzabriskie-react-disqus-thread
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

react-disqus-thread
WebJar for react-disqus-thread
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mzabriskie/react-disqus-thread

Download github-com-mzabriskie-react-disqus-thread

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-mzabriskie-react-disqus-thread/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-mzabriskie-react-disqus-thread</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-mzabriskie-react-disqus-thread/
implementation 'org.webjars.bower:github-com-mzabriskie-react-disqus-thread:0.4.0'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-mzabriskie-react-disqus-thread/
implementation ("org.webjars.bower:github-com-mzabriskie-react-disqus-thread:0.4.0")
'org.webjars.bower:github-com-mzabriskie-react-disqus-thread:jar:0.4.0'
<dependency org="org.webjars.bower" name="github-com-mzabriskie-react-disqus-thread" rev="0.4.0">
  <artifact name="github-com-mzabriskie-react-disqus-thread" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-mzabriskie-react-disqus-thread', version='0.4.0')
)
libraryDependencies += "org.webjars.bower" % "github-com-mzabriskie-react-disqus-thread" % "0.4.0"
[org.webjars.bower/github-com-mzabriskie-react-disqus-thread "0.4.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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({
	
	handleNewComment: function(comment) {
		console.log(comment.text);
	}

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

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

License

MIT

Versions

Version
0.4.0