import { r as registerInstance, h } from './index-67f7ec52.js';
import { i as icon } from './index.es-f2237e9d.js';

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

export { Icon as ap_ben_icon };
