"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get Arrows () {
        return Arrows;
    },
    get Default () {
        return Default;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
var _plasmaicons = require("@salutejs/plasma-icons");
var _ = require(".");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var defaultProps = {
    itemsNumber: 4,
    disabled: false,
    stretch: true,
    label: 'Label'
};
var items = [
    0,
    0,
    0,
    0
];
var func = function() {};
var Default = function() {
    var disabled = defaultProps.disabled, stretch = defaultProps.stretch, label = defaultProps.label;
    return /*#__PURE__*/ _react.default.createElement(_.Tabs, {
        stretch: stretch,
        disabled: disabled
    }, items.map(function(_1, i) {
        return /*#__PURE__*/ _react.default.createElement(_.TabItem, {
            key: "item:".concat(i),
            isActive: i === 0,
            tabIndex: -1,
            contentLeft: /*#__PURE__*/ _react.default.createElement(_plasmaicons.IconClock, {
                color: "inherit"
            }),
            onClick: func,
            onFocus: func,
            onBlur: func
        }, label);
    }));
};
var arrowsProps = {
    disabled: false,
    stretch: true
};
var items2 = [
    {
        label: 'Label',
        contentLeft: /*#__PURE__*/ _react.default.createElement(_plasmaicons.IconClock, {
            color: "inherit"
        })
    }
];
var Arrows = function() {
    var disabled = arrowsProps.disabled, stretch = arrowsProps.stretch;
    return /*#__PURE__*/ _react.default.createElement(_.TabsController, {
        items: items2,
        index: 0,
        onIndexChange: func,
        stretch: stretch,
        disabled: disabled
    });
};
