mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
30 lines
434 B
JavaScript
30 lines
434 B
JavaScript
|
const React = require('react');
|
||
|
const Styled = require('styled-components');
|
||
|
const ReactRouter = require('react-router');
|
||
|
|
||
|
const {
|
||
|
default: styled
|
||
|
} = Styled;
|
||
|
|
||
|
const {
|
||
|
Link
|
||
|
} = ReactRouter;
|
||
|
|
||
|
const App = React.createClass({
|
||
|
render: function() {
|
||
|
const {
|
||
|
children
|
||
|
} = this.props;
|
||
|
|
||
|
return (
|
||
|
<div>
|
||
|
<div>
|
||
|
{ children }
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
});
|
||
|
|
||
|
module.exports = App;
|