UNPKG

forms-reactive

Version:

Reactive Form Web Component

24 lines (20 loc) 819 B
import { r as registerInstance, h, H as Host } from './index-c364827c.js'; import { c as createColorClasses } from './theme-6bada181.js'; import { g as getIonMode } from './ionic-global-9c20d605.js'; const textCss = ":host(.ion-color){color:var(--ion-color-base)}"; const IonTextStyle0 = textCss; const Text = class { constructor(hostRef) { registerInstance(this, hostRef); this.color = undefined; } render() { const mode = getIonMode(this); return (h(Host, { key: '0c2546ea3f24b0a6bfd606199441d0a4edfa4ca1', class: createColorClasses(this.color, { [mode]: true, }) }, h("slot", { key: 'b7623ccb06f9461090a1f33e9f85886c7a4d5eff' }))); } }; Text.style = IonTextStyle0; export { Text as ion_text }; //# sourceMappingURL=ion-text.entry.js.map