update dropdown

This commit is contained in:
yiminghe 2015-07-17 23:08:30 +08:00
parent d9f2d5620a
commit d1ad214d73

View File

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