mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Revert "Added flipphone to list of phones in Person component"
This reverts commit 23625986d6.
This commit is contained in:
parent
23625986d6
commit
4a0a4f1786
1 changed files with 1 additions and 1 deletions
|
|
@ -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', 'flipphone']),
|
||||
phone: PropTypes.oneOf(['iphone', 'android', 'windowsphone']),
|
||||
twitter(props, propName, componentName) {
|
||||
if (!/^@?(\w){1,15}$/.test(props[propName])) {
|
||||
return new Error(
|
||||
|
|
|
|||
Loading…
Reference in a new issue