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