ant-design/components/select/index.jsx
ustccjw b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00

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;