mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
19 lines
340 B
JavaScript
19 lines
340 B
JavaScript
import React from 'react';
|
|
import Select from 'rc-select';
|
|
|
|
export default React.createClass({
|
|
getDefaultProps() {
|
|
return {
|
|
prefixCls: 'ant-select',
|
|
transitionName: 'slide-up',
|
|
optionLabelProp: 'children',
|
|
showSearch: false
|
|
};
|
|
},
|
|
render() {
|
|
return (
|
|
<Select {...this.props} />
|
|
);
|
|
}
|
|
});
|