proptypes.arrayof/() code example Example: proptypes.arrayof/() optionalArrayOf: PropTypes.arrayOf(PropTypes.number)