mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
22 lines
390 B
JavaScript
22 lines
390 B
JavaScript
'use strict';
|
|
|
|
var React = require('react');
|
|
var Select = require('rc-select');
|
|
|
|
module.exports = React.createClass({
|
|
getDefaultProps: function () {
|
|
return {
|
|
prefixCls: 'ant-select',
|
|
transitionName: 'slide-up',
|
|
showSearch: false
|
|
};
|
|
},
|
|
render: function () {
|
|
return (
|
|
<Select {...this.props} />
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports.Option = Select.Option;
|