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() {