"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "带Tab卡片"
 * description: "可承载更多内容，标题区可选"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var cardContent = {
    background: '#f6f6f6',
    width: '100%',
    borderRadius: '4px',
    textAlign: 'center',
    color: '#aaaaaa',
    position: 'relative',
    height: '100%',
    lineHeight: '100%',
};
var contentext = {
    lineHeight: '20px',
    position: 'absolute',
    top: '50%',
    width: '100%',
    marginTop: '-10px',
};
var itemStyle = {
    height: '200px',
    margin: 16,
};
var CardContent = function () { return (react_1.default.createElement("div", { style: cardContent },
    react_1.default.createElement("div", { style: contentext }, "Card Content"))); };
exports.default = (function () {
    return (react_1.default.createElement(console_components_1.Card, { style: { width: 500 }, free: true },
        react_1.default.createElement(console_components_1.Tab, { size: "small" },
            react_1.default.createElement(console_components_1.Tab.Item, { title: "\u5F53\u524D\u9009\u9879" },
                react_1.default.createElement("div", { style: itemStyle },
                    react_1.default.createElement(CardContent, null))),
            react_1.default.createElement(console_components_1.Tab.Item, { title: "\u53EF\u9009\u9009\u9879" },
                react_1.default.createElement("div", { style: itemStyle },
                    react_1.default.createElement(CardContent, null))),
            react_1.default.createElement(console_components_1.Tab.Item, { title: "\u60AC\u6D6E\u9009\u9879" },
                react_1.default.createElement("div", { style: itemStyle },
                    react_1.default.createElement(CardContent, null))),
            react_1.default.createElement(console_components_1.Tab.Item, { disabled: true, title: "\u7981\u7528\u9009\u9879" },
                react_1.default.createElement(CardContent, null)))));
});
