Source: app/util/proptypes/apiEntities/foodItemShape.js

import PropTypes from 'prop-types';
import imageShape from './image';

/** @module */

/**
 * Reusable object to use in `propTypes` for a `activity` prop.
 * @type {Object}
 * @category templating
 */
const foodItemShape = {
  title: PropTypes.string.isRequired,
  link: PropTypes.string,
  image: PropTypes.shape(imageShape),
  _type: PropTypes.string,
  id: PropTypes.string,
};

export default foodItemShape;