Skip to content

Commit

Permalink
Merge pull request #9 from Munter/patch-1
Browse files Browse the repository at this point in the history
Adapt children PropType check to newer React versions
  • Loading branch information
pedronauck committed Jan 28, 2015
2 parents 63fdce7 + ddc5769 commit 3c91338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/react-simpletabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var Tabs = React.createClass({
onAfterChange: React.PropTypes.func,
children: React.PropTypes.oneOfType([
React.PropTypes.array,
React.PropTypes.component
React.PropTypes.element
]).isRequired
},
getDefaultProps () {
Expand Down

0 comments on commit 3c91338

Please sign in to comment.