"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.InfoBannerIcon = void 0;
var Flex_1 = require("../Flex");
var colors_1 = require("../../base/colors");
var icons_material_1 = require("@mui/icons-material");
var react_1 = __importDefault(require("react"));
function InfoBannerIcon(_a) {
    var _b = _a.square, square = _b === void 0 ? false : _b, _c = _a.color, color = _c === void 0 ? colors_1.blue.dark : _c;
    return (react_1.default.createElement(Flex_1.Flex, { mr: 1, style: {
            background: color,
            color: "white",
            borderRadius: square ? 4 : "50%",
            padding: 2,
            width: "fit-content",
        } },
        react_1.default.createElement(icons_material_1.InfoOutlined, { fontSize: "small", color: "inherit" })));
}
exports.InfoBannerIcon = InfoBannerIcon;
//# sourceMappingURL=InfoBannerIcon.js.map