mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +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;
|