mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +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;
|