mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +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;
|