"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: "通过visible属性控制loading效果显示隐藏。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var commonProps = {
    extra: react_1.default.createElement(console_components_1.Icon, { type: "more", size: "small" }),
    showHeadDivider: false,
    title: '卡片',
};
var contentStyle = {
    background: '#f6f6f6',
    width: '468px',
    height: '110px',
    borderRadius: '4px',
    textAlign: 'center',
    color: '#aaaaaa',
};
var CardContent = function () { return react_1.default.createElement("div", { style: contentStyle }); };
exports.default = (function () {
    return (react_1.default.createElement(console_components_1.Card, __assign({ style: { width: 500 } }, commonProps),
        react_1.default.createElement(console_components_1.Loading, { size: "medium", visible: true },
            react_1.default.createElement(CardContent, null))));
});
