Mention PropTypes in top-level API

cf. #449
This commit is contained in:
Ben Alpert 2014-05-17 23:02:16 -07:00
parent f1a5a4c58e
commit 1baca43391
1 changed files with 5 additions and 0 deletions

View File

@ -45,6 +45,11 @@ Return the only child in `children`. Throws otherwise.
`React.DOM` provides all of the standard HTML tags needed to build a React app. You generally don't use it directly; instead, just include it as part of the `/** @jsx React.DOM */` docblock.
### React.PropTypes
`React.PropTypes` includes types that can be used with a component's `propTypes` object to validate props being passed to your components. For more information about `propTypes`, see [Reusable Components](/react/docs/reusable-components.html).
### React.initializeTouchEvents
```javascript