freeCodeCamp/common/app/App.jsx

29 lines
519 B
React
Raw Normal View History

2015-06-18 04:04:28 +00:00
import React, { PropTypes } from 'react';
2015-07-04 15:16:42 +00:00
import { Row } from 'react-bootstrap';
2015-06-18 04:04:28 +00:00
2015-07-04 00:46:58 +00:00
import { Nav } from './components/Nav';
import { Footer } from './components/Footer';
2015-06-18 04:04:28 +00:00
export default class extends React.Component {
constructor(props) {
super(props);
}
static displayName = 'FreeCodeCamp'
static propTypes = {
children: PropTypes.node
}
render() {
return (
<div>
<Nav />
2015-07-04 15:16:42 +00:00
<Row>
{ this.props.children }
</Row>
2015-06-18 04:04:28 +00:00
<Footer />
</div>
);
}
}