initial commit

This commit is contained in:
Jason Salzman
2016-10-06 11:10:21 -07:00
commit 52dea8ebb5
54 changed files with 58605 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import React from 'react'
export default React.createClass({
displayName: 'CodeExampleComponent',
propTypes: {
children: React.PropTypes.element,
id: React.PropTypes.number,
title: React.PropTypes.string
},
render () {
return <div key={this.props.id} id={`example-${this.props.id}`} className="example">
<h2 className="example__heading">{this.props.title}</h2>
{this.props.children}
</div>
}
})