Phyks (Lucas Verney)
d8a7d4f66a
Full rework of webplayer. Webplayer is back to its previous working state, and ready for further improvements.
21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
/**
|
|
* Main container at the top of our application components tree.
|
|
*
|
|
* Just a div wrapper around children for now.
|
|
*/
|
|
import React, { Component, PropTypes } from "react";
|
|
|
|
export default class App extends Component {
|
|
render() {
|
|
return (
|
|
<div>
|
|
{this.props.children}
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
App.propTypes = {
|
|
children: PropTypes.node,
|
|
};
|