add initial react app

This commit is contained in:
Berkeley Martinez
2015-06-17 21:04:28 -07:00
parent bfddc0330f
commit a8540bee35
42 changed files with 299 additions and 244 deletions

25
common/app/App.jsx Normal file
View File

@@ -0,0 +1,25 @@
import React, { PropTypes } from 'react';
import Nav from './components/Nav';
import Footer from './components/Footer';
export default class extends React.Component {
constructor(props) {
super(props);
}
static displayName = 'FreeCodeCamp'
static propTypes = {
children: PropTypes.node
}
render() {
return (
<div>
<Nav />
{ this.props.children }
<Footer />
</div>
);
}
}