ant-design/components/collapse/index.jsx
2015-07-11 10:17:58 +08:00

20 lines
345 B
JavaScript

'use strict';
var Collapse = require('rc-collapse');
var React = require('react');
var prefixCls = 'ant-collapse';
class AntCollapse extends React.Component {
render() {
return <Collapse {...this.props} />;
}
}
AntCollapse.defaultProps = {
prefixCls: prefixCls
};
AntCollapse.Panel = Collapse.Panel;
module.exports = AntCollapse;