ant-design/components/dropdown/index.jsx

18 lines
293 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 {
animation: 'slide-up'
};
},
render: function() {
2015-06-10 17:59:32 +08:00
return (
2015-06-09 14:46:51 +08:00
<Dropdown {...this.props} />
);
}
});