You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
403 B

import React from 'react';
import Select from 'rc-select';
9 years ago
var AntSelect = React.createClass({
getDefaultProps() {
10 years ago
return {
10 years ago
prefixCls: 'ant-select',
transitionName: 'slide-up',
optionLabelProp: 'children',
showSearch: false
10 years ago
};
},
render() {
10 years ago
return (
<Select {...this.props} />
);
}
});
9 years ago
AntSelect.Option = Select.Option;
export default AntSelect;