mirror of
https://github.com/jbranchaud/til
synced 2026-01-05 08:08:02 +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
|
```javascript
|
||||||
MyComponent.propTypes = {
|
MyComponent.propTypes = {
|
||||||
flavors: PropTypes.oneOf(['Vanilla', 'Chocolate', 'Strawberry']),
|
flavor: PropTypes.oneOf(['Vanilla', 'Chocolate', 'Strawberry']),
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user