aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/page-container/page-container.component.js
blob: 1b5e7f81998651305ee7ab9e5e598a3a66331c35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import React, { Component } from 'react'
import PropTypes from 'prop-types'

export default class PageContainer extends Component {

  static propTypes = {
    children: PropTypes.node.isRequired,
  };

  render () {
    console.log(`QQQQQQQQQQQQQQQQQ this.props.children`, this.props.children);
    return (
      <div className="page-container">
        {this.props.children}
      </div>
    );
  }

}