UNPKG

finpro

Version:
7 lines (6 loc) 755 B
import{a as o}from"../../chunk-ZO5WDGDN.js";import{a as i}from"../../chunk-JA3VZI2D.js";import{a as l,b as a,g as s,h as r}from"../../chunk-GBPY57YZ.js";import{a as e}from"../../chunk-NZ3RGSR6.js";var f=l`:host{display:inline-block}.anchor a{text-decoration:none;color:#000}`,m=f;var t=class extends i{static get styles(){return[m]}render(){let n=this.href||"",p=this.target||"";return a`<div class='anchor'> <a href='${o(n)}' target='${o(p)}'> <slot name='label'></slot> </a> </div>`}};e([r({type:String})],t.prototype,"label",2),e([r({type:String})],t.prototype,"href",2),e([r({type:String})],t.prototype,"target",2),t=e([s("fp-anchor")],t);export{t as default}; //# sourceMappingURL=fp-anchor.js.map