mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
b34269a6b1
convert var to const fix bug fix bug fix for jshint fix import
21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
import React from 'react';
|
|
import Select from 'rc-select';
|
|
|
|
export default React.createClass({
|
|
getDefaultProps: function () {
|
|
return {
|
|
prefixCls: 'ant-select',
|
|
transitionName: 'slide-up',
|
|
optionLabelProp: 'children',
|
|
showSearch: false
|
|
};
|
|
},
|
|
render: function () {
|
|
return (
|
|
<Select {...this.props} />
|
|
);
|
|
}
|
|
});
|
|
|
|
export const Option = Select.Option;
|