import PropTypes from 'prop-types';
/** @module */
/**
* Reusable object to use in `propTypes` for a `Recommended reading section` prop.
* @type {Object}
*/
const sectionShape = {
articles: PropTypes.arrayOf(
PropTypes.shape({
id: PropTypes.string,
title: PropTypes.string,
_type: PropTypes.string,
}),
),
goals: PropTypes.arrayOf(
PropTypes.shape({
text: PropTypes.string,
}),
),
backgroundImage: PropTypes.shape({
src: PropTypes.string,
alt: PropTypes.string,
}),
description: PropTypes.string,
title: PropTypes.string,
};
export default sectionShape;