Files
freeCodeCamp/common/app/App.jsx
Berkeley Martinez f159d68fc5 fix undefined functions
it renders!
2015-07-23 15:49:01 -07:00

26 lines
449 B
JavaScript

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>
);
}
}