import React from 'react' import PropTypes from 'prop-types' import Heading from './heading' class BlockHeading extends React.PureComponent { render() { const { title } = this.props return (
{title}
) } } BlockHeading.propTypes = { title: PropTypes.string.isRequired, } export default BlockHeading