mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
15 lines
279 B
JavaScript
15 lines
279 B
JavaScript
import RcCollapse from 'rc-collapse';
|
|
import React from 'react';
|
|
|
|
export default class Collapse extends React.Component {
|
|
render() {
|
|
return <RcCollapse {...this.props} />;
|
|
}
|
|
}
|
|
|
|
Collapse.defaultProps = {
|
|
prefixCls: 'ant-collapse',
|
|
};
|
|
|
|
Collapse.Panel = RcCollapse.Panel;
|