mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
19 lines
331 B
JavaScript
19 lines
331 B
JavaScript
'use strict';
|
|
|
|
var React = require('react');
|
|
var Dropdown = require('rc-dropdown');
|
|
|
|
module.exports = React.createClass({
|
|
getDefaultProps: function() {
|
|
return {
|
|
transitionName: 'slide-up',
|
|
prefixCls: 'ant-dropdown'
|
|
};
|
|
},
|
|
render: function() {
|
|
return (
|
|
<Dropdown {...this.props} />
|
|
);
|
|
}
|
|
});
|