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