Added flipphone to list of phones in Person component

This commit is contained in:
Michal Slepko 2022-07-15 11:19:57 +01:00
parent a117d9cbe8
commit 23625986d6

View file

@ -112,7 +112,7 @@ Person.propTypes = {
tags: PropTypes.arrayOf(PropTypes.string),
country: PropTypes.string,
computer: PropTypes.oneOf(['apple', 'windows', 'linux']),
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone']),
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone', 'flipphone']),
twitter(props, propName, componentName) {
if (!/^@?(\w){1,15}$/.test(props[propName])) {
return new Error(