ant-design/components/collapse/index.jsx

17 lines
296 B
React
Raw Normal View History

import Collapse from 'rc-collapse';
import React from 'react';
2015-07-11 10:17:58 +08:00
class AntCollapse extends React.Component {
render() {
return <Collapse {...this.props} />;
}
}
AntCollapse.defaultProps = {
2016-01-05 14:42:06 +08:00
prefixCls: 'ant-collapse',
2015-07-11 10:17:58 +08:00
};
AntCollapse.Panel = Collapse.Panel;
export default AntCollapse;