mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +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;
|