mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
20 lines
345 B
JavaScript
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;
|