From fe3af14273cac0fcae5bf7812594aae513245055 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 17 Aug 2017 09:57:07 +0800 Subject: [PATCH] Remove exported SelectPropTypes and fix undefined exports, close #7222 --- components/select/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/select/index.tsx b/components/select/index.tsx index 8b1b00b23a..2d2a7bbe63 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -67,8 +67,7 @@ export interface SelectContext { }; } -export const SelectPropTypes = { - ...RcSelect.propTypes, +const SelectPropTypes = { prefixCls: PropTypes.string, className: PropTypes.string, size: PropTypes.oneOf(['default', 'large', 'small']),