ant-design/components/select/index.jsx
2015-07-08 20:53:11 +08:00

22 lines
390 B
JavaScript

'use strict';
var React = require('react');
var Select = require('rc-select');
module.exports = React.createClass({
getDefaultProps: function () {
return {
prefixCls: 'ant-select',
transitionName: 'slide-up',
showSearch: false
};
},
render: function () {
return (
<Select {...this.props} />
);
}
});
module.exports.Option = Select.Option;