mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +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} />
|
|
);
|
|
}
|
|
});
|