const t=window.EdelElements.h;class e{constructor(){this.color=void 0,this.name=null,this.size=null,this.faStyle=null}render(){return t("i",{class:`${this.getFaStyle(this.faStyle)} fa-${this.name} ${this.getSize(this.size)}`})}componentDidLoad(){this.color&&(this.hostElement.style.color=this.color)}getSize(t){return null!=t?"fa-"+t:""}getFaStyle(t){return t||"fas"}static get is(){return"edel-icon"}static get properties(){return{color:{type:String,attr:"color",watchCallbacks:["componentDidLoad"]},faStyle:{type:String,attr:"fa-style"},hostElement:{elementRef:!0},name:{type:String,attr:"name"},size:{type:String,attr:"size"}}}}export{e as EdelIcon};