From e00d25c5920620f510973548bce56baca22d0c09 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Sat, 17 May 2014 23:02:16 -0700 Subject: [PATCH] Mention PropTypes in top-level API cf. #449 --- docs/ref-01-top-level-api.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/ref-01-top-level-api.md b/docs/ref-01-top-level-api.md index 949a02fa..c124d7b6 100644 --- a/docs/ref-01-top-level-api.md +++ b/docs/ref-01-top-level-api.md @@ -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