ant-design/components/dropdown/index.jsx

19 lines
331 B
React
Raw Normal View History

2015-06-09 14:46:51 +08:00
'use strict';
var React = require('react');
var Dropdown = require('rc-dropdown');
module.exports = React.createClass({
2015-06-10 17:59:32 +08:00
getDefaultProps: function() {
2015-06-09 14:46:51 +08:00
return {
2015-06-15 21:18:08 +08:00
transitionName: 'slide-up',
2015-06-12 12:01:02 +08:00
prefixCls: 'ant-dropdown'
2015-06-09 14:46:51 +08:00
};
},
render: function() {
2015-06-10 17:59:32 +08:00
return (
2015-06-09 14:46:51 +08:00
<Dropdown {...this.props} />
);
}
});