1 2 3 4 5 6 7 8 9 10 11 12
import PropTypes from 'prop-types'; export default { update: { type: PropTypes.string.isRequired, data: PropTypes.object.isRequired, }, remove: { type: PropTypes.string.isRequired, key: PropTypes.string.isRequired, }, };