From fec7150600dba9e3bd1d247082dd6ab989647af6 Mon Sep 17 00:00:00 2001 From: Stefan Huynh Date: Thu, 27 Apr 2017 18:18:14 -0700 Subject: [PATCH] Update docs for PropTypes --- README.md | 2 +- docs/faq/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ac493d0f..374ca6f4 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ var color = require('color'); @Radium class Button extends React.Component { static propTypes = { - kind: React.PropTypes.oneOf(['primary', 'warning']).isRequired + kind: PropTypes.oneOf(['primary', 'warning']).isRequired }; render() { diff --git a/docs/faq/README.md b/docs/faq/README.md index e0f782c8..55d5e1ab 100644 --- a/docs/faq/README.md +++ b/docs/faq/README.md @@ -110,7 +110,7 @@ import styler from 'react-styling/flat' @Radium class Button extends React.Component { static propTypes = { - kind: React.PropTypes.oneOf(['primary', 'warning']).isRequired + kind: PropTypes.oneOf(['primary', 'warning']).isRequired } render() {