mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 08:43:57 +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;
|