From acfdd0d8ea98be9ca2fbbf6ff2c39262ce33c038 Mon Sep 17 00:00:00 2001 From: Levi Thomason Date: Thu, 22 Sep 2016 16:05:34 -0700 Subject: [PATCH] fix(Dropdown): update elementOfType propType --- src/modules/Dropdown/Dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Dropdown/Dropdown.js b/src/modules/Dropdown/Dropdown.js index 513f076ab3..61c2fe1520 100644 --- a/src/modules/Dropdown/Dropdown.js +++ b/src/modules/Dropdown/Dropdown.js @@ -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. */