@creaditor/newsletter-starterkit
Version:
Creaditor Newsletter Editor - Starterkit for creating beautiful email newsletters
25 lines • 1.29 kB
JavaScript
;(("undefined"!=typeof self?self:this).webpackChunkCreaditor=("undefined"!=typeof self?self:this).webpackChunkCreaditor||[]).push([[2357],{72357:(t,i,e)=>{e.r(i),e.d(i,{AnchorIcon:()=>s});var h=e(56666),r=e(21293);class s extends r.oi{constructor(){super(),this.iconStyle="",this.width="24",this.height="24"}render(){return r.dy`<svg
style="${this.iconStyle}"
width="${this.width}"
height="${this.height}"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="24"
height="24"
>
<path fill="none" d="M0 0h24v24H0z" />
<path
d="M2.05 11H7v2H4.062A8.004 8.004 0 0 0 11 19.938V9.874A4.002 4.002 0 0 1 12 2a4 4 0 0 1 1 7.874v10.064A8.004 8.004 0 0 0 19.938 13H17v-2h4.95c.033.329.05.663.05 1 0 5.523-4.477 10-10 10S2 17.523 2 12c0-.337.017-.671.05-1zM12 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"
/>
</svg>`}}(0,h.Z)(s,"styles",r.iv`
:host {
display: inherit;
--cdtr-icon-width: 20px;
--cdtr-icon-height: 20px;
}
svg {
width: var(--cdtr-icon-width);
height: var(--cdtr-icon-height);
color: var(--cdtr-icon-color);
}
`),(0,h.Z)(s,"properties",{iconStyle:{type:String},width:{type:String},height:{type:String}}),customElements.define("cdtr-anchor-icon",s)}}]);