You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/dropdown/index.jsx

19 lines
350 B
React

10 years ago
var React = require('react');
var Dropdown = require('rc-dropdown');
10 years ago
var AntDropdown = React.createClass({
getDefaultProps: function () {
10 years ago
return {
10 years ago
transitionName: 'slide-up',
10 years ago
prefixCls: 'ant-dropdown'
10 years ago
};
},
10 years ago
render: function () {
return (
10 years ago
<Dropdown {...this.props} />
);
}
});
10 years ago
module.exports = AntDropdown;