'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-420e0ca1.js');

const EclSocialMediaFollowItem = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.theme = 'ec';
        this.styleClass = undefined;
        this.sharePath = undefined;
        this.icon = undefined;
    }
    getClass() {
        return [
            `ecl-social-media-follow__item`,
            `sc-ecl-social-media-follow-${this.theme}`,
            this.styleClass
        ].join(' ');
    }
    render() {
        return (index.h("li", { class: this.getClass() }, index.h("ecl-link", { "style-class": `ecl-link ecl-link--standalone ecl-link--icon-before ecl-social-media-follow__link sc-ecl-social-media-follow-${this.theme}`, path: this.sharePath, "icon-position": "before" }, index.h("ecl-icon", { slot: "icon-before", sprite: "icons-social-media", icon: this.icon, size: "m" }), index.h("slot", null))));
    }
};

exports.ecl_social_media_follow_item = EclSocialMediaFollowItem;

//# sourceMappingURL=ecl-social-media-follow-item.cjs.entry.js.map