import React from 'react'; import PropTypes from 'prop-types'; const ListHeader = props => (
{props.title}
); ListHeader.propTypes = { title: PropTypes.string.isRequired, }; export default ListHeader;