2015-06-09 14:46:51 +08:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var React = require('react');
|
|
|
|
var Dropdown = require('rc-dropdown');
|
|
|
|
|
2015-07-17 23:08:30 +08:00
|
|
|
var AntDropdown = React.createClass({
|
|
|
|
getDefaultProps: function () {
|
2015-06-09 14:46:51 +08:00
|
|
|
return {
|
2015-06-15 21:18:08 +08:00
|
|
|
transitionName: 'slide-up',
|
2015-06-12 12:01:02 +08:00
|
|
|
prefixCls: 'ant-dropdown'
|
2015-06-09 14:46:51 +08:00
|
|
|
};
|
|
|
|
},
|
2015-07-17 23:08:30 +08:00
|
|
|
render: function () {
|
2015-06-10 17:59:32 +08:00
|
|
|
return (
|
2015-06-09 14:46:51 +08:00
|
|
|
<Dropdown {...this.props} />
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
2015-07-17 23:08:30 +08:00
|
|
|
|
|
|
|
module.exports = AntDropdown;
|