mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
15 lines
282 B
JavaScript
15 lines
282 B
JavaScript
import RcCollapse from 'rc-collapse';
|
|
import React from 'react';
|
|
|
|
export default class Collapse extends React.Component {
|
|
static Panel = RcCollapse.Panel;
|
|
|
|
static defaultProps = {
|
|
prefixCls: 'ant-collapse',
|
|
}
|
|
|
|
render() {
|
|
return <RcCollapse {...this.props} />;
|
|
}
|
|
}
|