"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "带标题卡片"
 * description: "标题可通过title属性定制"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var cardContent = {
    background: '#f6f6f6',
    width: '100%',
    height: '100%',
    borderRadius: '4px',
    textAlign: 'center',
    lineHeight: '100%',
    color: '#aaaaaa',
    position: 'relative',
};
var contentext = {
    lineHeight: '20px',
    position: 'absolute',
    top: '50%',
    width: '100%',
    marginTop: '-10px',
};
var CardContent = function () { return (react_1.default.createElement("div", { style: cardContent },
    react_1.default.createElement("div", { style: contentext }, "Card Content"))); };
var commonProps = {
    extra: react_1.default.createElement(console_components_1.Icon, { type: "more", size: "small" }),
    showHeadDivider: false,
    title: '标题Title',
    style: { width: 500 },
};
exports.default = (function () {
    return (react_1.default.createElement(console_components_1.Card, __assign({}, commonProps),
        react_1.default.createElement(CardContent, null)));
});
