Skip to content

Commit

Permalink
fix(Dropdown): update elementOfType propType
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Sep 22, 2016
1 parent 16e615c commit acfdd0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class Dropdown extends Component {
{ children: PropTypes.any.isRequired },
React.PropTypes.element.isRequired,
),
customPropTypes.ofComponentTypes(['DropdownMenu']),
PropTypes.arrayOf(customPropTypes.elementOfType(DropdownMenu)),
]),

/** Current value or value array if multiple. Creates a controlled component. */
Expand Down

0 comments on commit acfdd0d

Please sign in to comment.