define(["require", "exports", "tslib", "react", "../../Utilities", "../../Icon", "./Check.styles", "../../Utilities"], function (require, exports, tslib_1, React, Utilities_1, Icon_1, Check_styles_1, Utilities_2) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var getClassNames = Utilities_2.classNamesFunction();
    var CheckBase = /** @class */ (function (_super) {
        tslib_1.__extends(CheckBase, _super);
        function CheckBase() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        CheckBase.prototype.shouldComponentUpdate = function (newProps) {
            return this.props.checked !== newProps.checked || this.props.theme !== newProps.theme || this.props.className !== newProps.className;
        };
        CheckBase.prototype.render = function () {
            var _a = this.props, checked = _a.checked, className = _a.className, theme = _a.theme;
            var classNames = getClassNames(Check_styles_1.getStyles, { theme: theme, className: className, checked: checked });
            return (React.createElement("div", { className: classNames.root },
                React.createElement(Icon_1.Icon, { iconName: "CircleRing", className: classNames.circle }),
                React.createElement(Icon_1.Icon, { iconName: "StatusCircleCheckmark", className: classNames.check })));
        };
        CheckBase.defaultProps = {
            checked: false
        };
        return CheckBase;
    }(Utilities_1.BaseComponent));
    exports.CheckBase = CheckBase;
});
//# sourceMappingURL=Check.base.js.map