aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/page-container/page-container.component.js
blob: 7df1d48d8eb9d796b9b00f18c04710b34b7c3237 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>
    );
  }

}