ant-design/components/dropdown/index.jsx
2015-07-17 23:08:30 +08:00

21 lines
365 B
JavaScript

'use strict';
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;