define(["require", "exports", "tslib", "react", "../../Utilities", "./CalloutContent", "../../Layer"], function (require, exports, tslib_1, React, Utilities_1, CalloutContent_1, Layer_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var Callout = /** @class */ (function (_super) {
        tslib_1.__extends(Callout, _super);
        function Callout(props) {
            return _super.call(this, props) || this;
        }
        Callout.prototype.render = function () {
            var content = (React.createElement(CalloutContent_1.CalloutContent, tslib_1.__assign({}, this.props)));
            return this.props.doNotLayer ? content : (React.createElement(Layer_1.Layer, null, content));
        };
        return Callout;
    }(Utilities_1.BaseComponent));
    exports.Callout = Callout;
});
//# sourceMappingURL=Callout.js.map