2016-08-10 21:36:11 +02:00
|
|
|
/**
|
|
|
|
* Main container at the top of our application components tree.
|
|
|
|
*
|
|
|
|
* Just a div wrapper around children for now.
|
|
|
|
*/
|
2016-07-07 23:23:18 +02:00
|
|
|
import React, { Component, PropTypes } from "react";
|
|
|
|
|
|
|
|
export default class App extends Component {
|
2016-08-10 23:50:23 +02:00
|
|
|
render() {
|
2016-07-07 23:23:18 +02:00
|
|
|
return (
|
|
|
|
<div>
|
2016-08-10 21:36:11 +02:00
|
|
|
{this.props.children}
|
2016-07-07 23:23:18 +02:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
App.propTypes = {
|
|
|
|
children: PropTypes.node,
|
|
|
|
};
|