UNPKG

@zoff-tech/zt-bottom-drawer

Version:
27 lines (21 loc) 713 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-d7fcb92f.js'); const theme = require('@utils/theme'); const ionicGlobal = require('./ionic-global-70a62cb2.js'); const textCss = ":host(.ion-color){color:var(--ion-color-base)}"; const Text = class { constructor(hostRef) { index.registerInstance(this, hostRef); this.color = undefined; } render() { const mode = ionicGlobal.getIonMode(this); return (index.h(index.Host, { class: theme.createColorClasses(this.color, { [mode]: true, }) }, index.h("slot", null))); } }; Text.style = textCss; exports.ion_text = Text; //# sourceMappingURL=ion-text.cjs.entry.js.map