UNPKG

forms-reactive

Version:

Reactive Form Web Component

25 lines (20 loc) 1.17 kB
import { r as registerInstance, h, H as Host } from './index-c364827c.js'; import { g as getIonMode } from './ionic-global-9c20d605.js'; const avatarIosCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}"; const IonAvatarIosStyle0 = avatarIosCss; const avatarMdCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"; const IonAvatarMdStyle0 = avatarMdCss; const Avatar = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { return (h(Host, { key: '998217066084f966bf5d356fed85bcbd451f675a', class: getIonMode(this) }, h("slot", { key: '1a6f7c9d4dc6a875f86b5b3cda6d59cb39587f22' }))); } }; Avatar.style = { ios: IonAvatarIosStyle0, md: IonAvatarMdStyle0 }; export { Avatar as ion_avatar }; //# sourceMappingURL=ion-avatar.entry.js.map