mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
b34269a6b1
convert var to const fix bug fix bug fix for jshint fix import
18 lines
324 B
JavaScript
18 lines
324 B
JavaScript
import Collapse from 'rc-collapse';
|
|
import React from 'react';
|
|
const prefixCls = 'ant-collapse';
|
|
|
|
class AntCollapse extends React.Component {
|
|
render() {
|
|
return <Collapse {...this.props} />;
|
|
}
|
|
}
|
|
|
|
AntCollapse.defaultProps = {
|
|
prefixCls: prefixCls
|
|
};
|
|
|
|
AntCollapse.Panel = Collapse.Panel;
|
|
|
|
export default AntCollapse;
|