mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
17 lines
296 B
JavaScript
17 lines
296 B
JavaScript
import Collapse from 'rc-collapse';
|
|
import React from 'react';
|
|
|
|
class AntCollapse extends React.Component {
|
|
render() {
|
|
return <Collapse {...this.props} />;
|
|
}
|
|
}
|
|
|
|
AntCollapse.defaultProps = {
|
|
prefixCls: 'ant-collapse',
|
|
};
|
|
|
|
AntCollapse.Panel = Collapse.Panel;
|
|
|
|
export default AntCollapse;
|