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

const EclSocialMediaShareItem = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.theme = 'ec';
    this.styleClass = undefined;
    this.sharePath = undefined;
    this.icon = undefined;
  }
  getClass() {
    return [
      `ecl-social-media-share__item`,
      `sc-ecl-social-media-share-${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-share__link sc-ecl-social-media-share-${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 { EclSocialMediaShareItem as ecl_social_media_share_item };

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