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