diff --git a/react/enforce-specific-values-with-proptypes.md b/react/enforce-specific-values-with-proptypes.md index 83972db..43e2925 100644 --- a/react/enforce-specific-values-with-proptypes.md +++ b/react/enforce-specific-values-with-proptypes.md @@ -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']), }; ```