mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
19 lines
282 B
JavaScript
19 lines
282 B
JavaScript
'use strict';
|
|
|
|
var Tab = require('rc-tabs');
|
|
var React = require('react');
|
|
|
|
class AntTabs extends React.Component {
|
|
render() {
|
|
return <Tab {...this.props}/>;
|
|
}
|
|
}
|
|
|
|
AntTabs.defaultProps = {
|
|
prefixCls: 'ant-tabs'
|
|
};
|
|
|
|
AntTabs.TabPane = Tab.TabPane;
|
|
|
|
module.exports = AntTabs;
|