mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix single vs plural (#8738)
Maybe it's not very important, just misprint fix
This commit is contained in:
committed by
Dan Abramov
parent
c3ce14a373
commit
280bcfa9f5
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user