ant-design/components/dropdown/index.jsx

17 lines
311 B
React
Raw Normal View History

import React from 'react';
import Dropdown from 'rc-dropdown';
2015-06-09 14:46:51 +08:00
export default React.createClass({
2015-07-17 23:08:30 +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-11-03 13:50:36 +08:00
prefixCls: 'ant-dropdown',
2015-06-09 14:46:51 +08:00
};
},
2015-07-17 23:08:30 +08:00
render: function () {
2015-06-10 17:59:32 +08:00
return (
2015-06-09 14:46:51 +08:00
<Dropdown {...this.props} />
);
}
});