From fdc355064e67bc0c059ca2b98e776c3b052db466 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 27 Mar 2018 10:57:23 -0500 Subject: [PATCH] Remove plural from example --- react/enforce-specific-values-with-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']), }; ```