From 4599dc5dcd1cbcba10fec5eae2347b06016f9fad Mon Sep 17 00:00:00 2001 From: Dmitry Zhuravlev-Nevsky Date: Tue, 10 Jan 2017 19:00:16 +0300 Subject: [PATCH] Fix single vs plural (#8738) Maybe it's not very important, just misprint fix --- docs/typechecking-with-proptypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/typechecking-with-proptypes.md b/docs/typechecking-with-proptypes.md index 79a74d6c..e3c4abd2 100644 --- a/docs/typechecking-with-proptypes.md +++ b/docs/typechecking-with-proptypes.md @@ -107,7 +107,7 @@ MyComponent.propTypes = { }; ``` -### Requiring Single Children +### Requiring Single Child With `React.PropTypes.element` you can specify that only a single child can be passed to a component as children.