forked from muicss/mui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtab.js
More file actions
49 lines (39 loc) · 979 Bytes
/
tab.js
File metadata and controls
49 lines (39 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
var babelHelpers = require('./babel-helpers.js');
/**
* MUI React tabs module
* @module react/tabs
*/
/* jshint quotmark:false */
// jscs:disable validateQuoteMarks
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = babelHelpers.interopRequireDefault(_react);
/**
* Tab constructor
* @class
*/
var Tab = function (_React$Component) {
babelHelpers.inherits(Tab, _React$Component);
function Tab() {
babelHelpers.classCallCheck(this, Tab);
return babelHelpers.possibleConstructorReturn(this, (Tab.__proto__ || Object.getPrototypeOf(Tab)).apply(this, arguments));
}
babelHelpers.createClass(Tab, [{
key: 'render',
value: function render() {
return null;
}
}]);
return Tab;
}(_react2.default.Component);
/** Define module API */
Tab.defaultProps = {
value: null,
label: '',
onActive: null
};
exports.default = Tab;
module.exports = exports['default'];