rtate2 / i-got-next

0 stars 0 forks source link

playerShape #12

Closed rtate2 closed 4 years ago

rtate2 commented 4 years ago

Dev Notes

• In src/helpers/propz/playerShape.js create:

const playerShape = PropTypes.shape({
  id: PropTypes.string,
  firstName: PropTypes.string.isRequired,
  lastName: PropTypes.string.isRequired,
});

• At the top of the file import PropTypes from 'prop-types';

• At the very bottom of the file export default { playerShape };