UNPKG

test-isc

Version:

An Ionic component similar to Ionic Select, that allows to search items, including async search, group, add, edit, delete items, and much more.

19 lines (15 loc) 616 B
import { r as registerInstance, h, H as Host } from './index-b6f64b02.js'; import { g as getIonMode } from './ionic-global-5d790111.js'; import { c as createColorClasses } from './theme-74c22054.js'; const textCss = ":host(.ion-color){color:var(--ion-color-base)}"; const Text = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { const mode = getIonMode(this); return (h(Host, { class: Object.assign(Object.assign({}, createColorClasses(this.color)), { [mode]: true }) }, h("slot", null))); } }; Text.style = textCss; export { Text as ion_text };