var ElFontIcon = /** @class */ (function () {
    function ElFontIcon(name, content, params) {
        if (params === void 0) { params = {}; }
        this.name = name;
        this.content = content;
        this.params = params;
    }
    ElFontIcon.prototype.getClasses = function (options) {
        var classes = [];
        if (this.params.packClass) {
            classes.push(this.params.packClass);
        }
        var name = this.params.iconClassPrefix ? this.params.iconClassPrefix + "-" + this.name : this.name;
        classes.push(name);
        return classes;
    };
    ElFontIcon.prototype.getContent = function (options) {
        return this.content;
    };
    return ElFontIcon;
}());
export { ElFontIcon };
var ElSvgIcon = /** @class */ (function () {
    function ElSvgIcon(name, content, params) {
        if (params === void 0) { params = {}; }
        this.name = name;
        this.content = content;
        this.params = params;
    }
    ElSvgIcon.prototype.getClasses = function (options) {
        var classes = [];
        if (this.params.packClass) {
            classes.push(this.params.packClass);
        }
        return classes;
    };
    ElSvgIcon.prototype.getContent = function (options) {
        return this.content;
    };
    return ElSvgIcon;
}());
export { ElSvgIcon };
//# sourceMappingURL=icon.js.map