ant-design/components/collapse/index.jsx

18 lines
324 B
React
Raw Normal View History

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