2016-08-10 21:36:11 +02:00
|
|
|
// NPM imports
|
2016-07-07 23:23:18 +02:00
|
|
|
import React, { Component } from "react";
|
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Simple layout, meaning just enclosing children in a div.
|
|
|
|
*/
|
2016-07-07 23:23:18 +02:00
|
|
|
export default class SimpleLayout extends Component {
|
2016-08-10 23:50:23 +02:00
|
|
|
render() {
|
2016-07-07 23:23:18 +02:00
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
{this.props.children}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|