import React, { Component } from 'react' import PropTypes from 'prop-types' export default class PageContainerHeader extends Component { static propTypes = { title: PropTypes.string, subtitle: PropTypes.string, onClose: PropTypes.func, }; render () { const { title, subtitle, onClose } = this.props return (
{title}
{subtitle}
onClose()} />
); } }