mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
b34269a6b1
convert var to const fix bug fix bug fix for jshint fix import
17 lines
310 B
JavaScript
17 lines
310 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} />
|
|
);
|
|
}
|
|
});
|