ant-design/components/dropdown/index.jsx

19 lines
326 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-12 12:01:02 +08:00
animation: 'slide-up',
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} />
);
}
});