Mention PropTypes in top-level API
cf. #449
Ben Alpert committed
May 17, 2014 at 23:02 UTC
1baca43391517a1aeb4c65ff609fef4fb2332aa4
1 file changed
+5
docs/docs/ref-01-top-level-api.md
+5
@@ -45,6 +45,11 @@ Return the only child in `children`. Throws otherwise.
45
`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.
46
47
48
+### React.PropTypes
49
+
50
+`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).
51
+
52
+
53
### React.initializeTouchEvents
54
55
```javascript