You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
326 B
19 lines
326 B
7 years ago
|
import React, { Component } from 'react'
|
||
|
import PropTypes from 'prop-types'
|
||
|
|
||
|
export default class PageContainer extends Component {
|
||
|
|
||
|
static propTypes = {
|
||
|
children: PropTypes.node.isRequired,
|
||
|
};
|
||
|
|
||
|
render () {
|
||
|
return (
|
||
|
<div className="page-container">
|
||
|
{this.props.children}
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
}
|