atur proptipe

itemName.propTypes = {
  props: PropTypes.dataType.isRequired
};
Thoughtless Tarantula