mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
update dropdown
This commit is contained in:
parent
d9f2d5620a
commit
d1ad214d73
@ -3,16 +3,18 @@
|
||||
var React = require('react');
|
||||
var Dropdown = require('rc-dropdown');
|
||||
|
||||
module.exports = React.createClass({
|
||||
getDefaultProps: function() {
|
||||
var AntDropdown = React.createClass({
|
||||
getDefaultProps: function () {
|
||||
return {
|
||||
transitionName: 'slide-up',
|
||||
prefixCls: 'ant-dropdown'
|
||||
};
|
||||
},
|
||||
render: function() {
|
||||
render: function () {
|
||||
return (
|
||||
<Dropdown {...this.props} />
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = AntDropdown;
|
||||
|
Loading…
Reference in New Issue
Block a user