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