Skip to content

Instantly share code, notes, and snippets.

class Foo(object):
def method1(self):
pass
def method2(self):
pass
name = 'somename'
locaiton ='somelocation'
var React = require('react');
var ContentToggle = React.createClass({
render () {
return (
<div className="ContentToggle">
<div className="ContentToggle__Summary">{this.props.summary}</div>
<div className="ContentToggle__Details">Details</div>
</div>
);
}