"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tabs = void 0;
const tslib_1 = require("tslib");
const Tabs_1 = tslib_1.__importDefault(require("@material-ui/core/Tabs"));
const react_1 = tslib_1.__importDefault(require("react"));
const styles_1 = require("@material-ui/core/styles");
Tabs_1.default.displayName = 'Tabs';
function getTabsUI(props) {
    const { children } = props, other = tslib_1.__rest(props, ["children"]);
    return (react_1.default.createElement(Tabs_1.default, Object.assign({ variant: "scrollable" }, other), children));
}
exports.Tabs = (props) => {
    const Wrapper = getTabsUI;
    const Styled = styles_1.withStyles(props.styles || {})(Wrapper);
    return react_1.default.createElement(Styled, Object.assign({}, props));
};
