ant-design/components/select/index.jsx
2015-07-29 12:50:41 +08:00

23 lines
403 B
JavaScript

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