@zoff-tech/zt-bottom-drawer
Version:
Bottom Drawer / Web Component
23 lines (19 loc) • 636 B
JavaScript
import { r as registerInstance, h, H as Host } from './index-8f8312e9.js';
import { createColorClasses } from '@utils/theme';
import { g as getIonMode } from './ionic-global-8c2131e9.js';
const textCss = ":host(.ion-color){color:var(--ion-color-base)}";
const Text = class {
constructor(hostRef) {
registerInstance(this, hostRef);
this.color = undefined;
}
render() {
const mode = getIonMode(this);
return (h(Host, { class: createColorClasses(this.color, {
[mode]: true,
}) }, h("slot", null)));
}
};
Text.style = textCss;
export { Text as ion_text };
//# sourceMappingURL=ion-text.entry.js.map