mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +01:00
20 lines
405 B
JavaScript
20 lines
405 B
JavaScript
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>
|
|
);
|
|
}
|
|
|
|
}
|