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
JavaScript

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