import React from 'react';
import PropTypes from 'prop-types';

export default function ArticleHeader({ page }) {
  return <h1>{page.title}</h1>;
}

ArticleHeader.propTypes = {
  page: PropTypes.shape({
    title: PropTypes.string,
  }),
};
