ant-design/components/tabs/index.jsx
2015-06-15 20:04:32 +08:00

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;