2015-06-09 21:16:59 +08:00
|
|
|
'use strict';
|
|
|
|
|
2015-06-15 17:17:23 +08:00
|
|
|
var React = require('react');
|
2015-06-09 21:16:59 +08:00
|
|
|
var Select = require('rc-select');
|
|
|
|
|
2015-06-15 17:17:23 +08:00
|
|
|
module.exports = React.createClass({
|
2015-06-15 21:18:08 +08:00
|
|
|
getDefaultProps: function () {
|
2015-06-15 17:17:23 +08:00
|
|
|
return {
|
2015-06-15 21:18:08 +08:00
|
|
|
prefixCls: 'ant-select',
|
2015-06-16 14:54:31 +08:00
|
|
|
transitionName: 'slide-up',
|
|
|
|
showSearch: false
|
2015-06-15 17:17:23 +08:00
|
|
|
};
|
|
|
|
},
|
2015-06-15 21:18:08 +08:00
|
|
|
render: function () {
|
2015-06-15 17:17:23 +08:00
|
|
|
return (
|
|
|
|
<Select {...this.props} />
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
2015-07-08 20:53:11 +08:00
|
|
|
|
|
|
|
module.exports.Option = Select.Option;
|