Skip to content

Commit 2317762

Browse files
committed
Merge pull request #27 from meirish/prop-types
Add array to children propTypes
2 parents efaec3b + 5fbf4c9 commit 2317762

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/components/Tab.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = React.createClass({
2323
disabled: PropTypes.bool,
2424
panelId: PropTypes.string,
2525
children: PropTypes.oneOfType([
26+
PropTypes.array,
2627
PropTypes.object,
2728
PropTypes.string
2829
])

lib/components/TabPanel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = React.createClass({
99
id: PropTypes.string,
1010
tabId: PropTypes.string,
1111
children: PropTypes.oneOfType([
12+
PropTypes.array,
1213
PropTypes.object,
1314
PropTypes.string
1415
])

0 commit comments

Comments
 (0)