"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "小红点"
 * description: "dot 属性控制不展示数字，只展示一个小红点"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var squareStyles = {
    display: 'inline-block',
    borderRadius: '4px',
    background: '#eee',
    width: '32px',
    height: '32px',
};
var circleStyles = {
    display: 'inline-block',
    borderRadius: '16px',
    background: '#eee',
    width: '32px',
    height: '32px',
};
var contentStyle = {
    display: 'flex',
    gridTemplateColumns: 'repeat(3, 1fr)',
    gap: 36,
    alignItems: 'center',
};
var Square = function () { return react_1.default.createElement("div", { style: squareStyles }); };
var Circle = function () { return react_1.default.createElement("div", { style: circleStyles }); };
function Demo4() {
    return (react_1.default.createElement("div", { style: contentStyle },
        react_1.default.createElement(console_components_1.Badge, { dot: true },
            react_1.default.createElement(Square, null)),
        react_1.default.createElement(console_components_1.Badge, { dot: true },
            react_1.default.createElement(Circle, null)),
        react_1.default.createElement(console_components_1.Badge, { dot: true },
            react_1.default.createElement("span", { style: { marginRight: '6px' } }, "\u6587\u5B57\u63CF\u8FF0"))));
}
exports.default = Demo4;
