"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Chip = void 0;
var styles_1 = require("@mui/styles");
var colors_1 = require("../../base/colors");
var Chip_1 = __importDefault(require("@mui/material/Chip"));
exports.Chip = styles_1.withStyles(function (theme) { return ({
    root: {
        minWidth: "auto",
        margin: theme.spacing(1),
        borderRadius: 4,
        backgroundColor: function (_a) {
            var bgcolor = _a.bgcolor;
            return (bgcolor ? bgcolor : colors_1.yellow.subtle);
        },
        color: function (_a) {
            var textColor = _a.textColor;
            return (textColor ? textColor : colors_1.yellow.dark);
        },
        height: function (_a) {
            var height = _a.height;
            return (height ? height : "24px");
        },
        "& span": {
            lineHeight: 1.5,
            padding: function (_a) {
                var padding = _a.padding;
                return (padding ? padding : "0px 4px");
            },
        },
    },
    labelSmall: {
        fontWeight: 500,
    },
}); })(Chip_1.default);
//# sourceMappingURL=Chip.js.map