mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
19 lines
285 B
JavaScript
19 lines
285 B
JavaScript
'use strict';
|
|
|
|
var Tabs = require('rc-tabs');
|
|
var React = require('react');
|
|
|
|
class AntTabs extends React.Component {
|
|
render() {
|
|
return <Tabs {...this.props}/>;
|
|
}
|
|
}
|
|
|
|
AntTabs.defaultProps = {
|
|
prefixCls: 'ant-tabs'
|
|
};
|
|
|
|
AntTabs.TabPane = Tabs.TabPane;
|
|
|
|
module.exports = AntTabs;
|