Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Update docs for PropTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefvhuynh committed Apr 28, 2017
1 parent 89cf495 commit fec7150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion docs/faq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit fec7150

Please sign in to comment.