"use strict";
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
            t[p[i]] = s[p[i]];
    return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const Tooltip_1 = require("../Tooltip");
const sc = __importStar(require("./styles"));
const icons_1 = require("../../assets/images/icons");
exports.TooltipIcon = (_a) => {
    var { children, iconButtonProps } = _a, tooltipProps = __rest(_a, ["children", "iconButtonProps"]);
    return (react_1.default.createElement(sc.Icon, Object.assign({ Asset: icons_1.SvgInfo, width: 14, height: 14 }, iconButtonProps),
        react_1.default.createElement(Tooltip_1.Tooltip, Object.assign({ variant: "secondary" }, tooltipProps), children)));
};
//# sourceMappingURL=TooltipIcon.js.map