'use strict';

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

const index = require('./index-d685a739.js');
const index_es = require('./index.es-1e4fc9cc.js');

const Icon = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.spin = false;
  }
  render() {
    const iconClasses = this.spin ? ['fa-spin'] : [];
    const faIcon = index_es.icon({ prefix: this.iconPrefix, iconName: this.iconId }, { classes: iconClasses });
    return index.h("div", { class: "d-inline", innerHTML: faIcon.html.join() });
  }
};

exports.ap_ben_icon = Icon;
