"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "徽标与标识组合"
 * description: "超过overflow的数值，会显示overflow+，overflow默认值为99。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var badgeTextStyle = {
    backgroundColor: '#D50B16',
    color: '#fff',
    borderRadius: '10px',
    lineHeight: '18px',
};
var squareStyles = {
    display: 'inline-block',
    borderRadius: '4px',
    background: '#eee',
    width: '32px',
    height: '32px',
};
var Square = function () { return react_1.default.createElement("div", { style: squareStyles }); };
exports.default = (function () {
    return (react_1.default.createElement("div", { style: { display: 'flex', gap: '50px' } },
        react_1.default.createElement(console_components_1.Badge, { count: 1 },
            react_1.default.createElement(Square, null)),
        react_1.default.createElement(console_components_1.Badge, { count: 23 },
            react_1.default.createElement(Square, null)),
        react_1.default.createElement(console_components_1.Badge, { count: 456, overflowCount: 999 },
            react_1.default.createElement(Square, null)),
        react_1.default.createElement(console_components_1.Badge, { content: 'NEW', style: badgeTextStyle },
            react_1.default.createElement(Square, null)),
        react_1.default.createElement(console_components_1.Badge, { content: '最新上线', style: badgeTextStyle },
            react_1.default.createElement(Square, null))));
});
