mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
Remove plural from example
This commit is contained in:
@@ -8,7 +8,7 @@ specific set of values, an enum if you will.
|
||||
|
||||
```javascript
|
||||
MyComponent.propTypes = {
|
||||
flavors: PropTypes.oneOf(['Vanilla', 'Chocolate', 'Strawberry']),
|
||||
flavor: PropTypes.oneOf(['Vanilla', 'Chocolate', 'Strawberry']),
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user