mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-06 02:15:35 +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} />;
|
|
}
|
|
}
|