UNPKG

react-klasha

Version:

This is an reactJS library for implementing klasha payment gateway

21 lines (17 loc) 577 B
import { r as registerInstance, h, H as Host } from './index-7a8b7a1c.js'; import { b as getIonMode } from './ionic-global-63a97a32.js'; import { c as createColorClasses } from './theme-ff3fc52f.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: createColorClasses(this.color, { [mode]: true, }) }, h("slot", null))); } }; Text.style = textCss; export { Text as ion_text };