"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const Box_1 = require("../Box");
const Flex_1 = require("../Flex");
const TabItem_1 = __importDefault(require("./TabItem"));
const TabBar = ({ tabs }) => {
    return (react_1.default.createElement(Box_1.Box, null,
        react_1.default.createElement(Flex_1.Flex, { flexDirection: "row", flex: 1, justifyContent: "flex-start", alignItems: "flex-end" }, tabs.map((t) => (react_1.default.createElement(TabItem_1.default, Object.assign({ key: t.id }, t)))))));
};
exports.default = TabBar;
//# sourceMappingURL=TabBar.js.map