From ee10b7c7d8a461e9c6603146121f6413c6315315 Mon Sep 17 00:00:00 2001 From: yiminghe Date: Wed, 29 Jul 2015 12:50:41 +0800 Subject: [PATCH] fix ant-select --- components/select/index.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/select/index.jsx b/components/select/index.jsx index fd5f5b862e..d54508a8a6 100644 --- a/components/select/index.jsx +++ b/components/select/index.jsx @@ -1,7 +1,7 @@ import React from 'react'; import Select from 'rc-select'; -export default React.createClass({ +var AntSelect = React.createClass({ getDefaultProps() { return { prefixCls: 'ant-select', @@ -16,3 +16,7 @@ export default React.createClass({ ); } }); + +AntSelect.Option = Select.Option; + +export default AntSelect;