1
0
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:
jbranchaud
2018-03-27 10:57:23 -05:00
parent 94a9d51045
commit fdc355064e

View File

@@ -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']),
};
```