ant-design/components/collapse/index.jsx

15 lines
279 B
React
Raw Normal View History

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