import { r as registerInstance, h } from './index-0a3acb15.js';

const EclSocialMediaFollowItem = class {
  constructor(hostRef) {
    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 (h("li", { class: this.getClass() }, 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" }, h("ecl-icon", { slot: "icon-before", sprite: "icons-social-media", icon: this.icon, size: "m" }), h("slot", null))));
  }
};

export { EclSocialMediaFollowItem as ecl_social_media_follow_item };

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