mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
17 lines
311 B
JavaScript
17 lines
311 B
JavaScript
import React from 'react';
|
|
import Dropdown from 'rc-dropdown';
|
|
|
|
export default React.createClass({
|
|
getDefaultProps: function () {
|
|
return {
|
|
transitionName: 'slide-up',
|
|
prefixCls: 'ant-dropdown',
|
|
};
|
|
},
|
|
render: function () {
|
|
return (
|
|
<Dropdown {...this.props} />
|
|
);
|
|
}
|
|
});
|