import { r as registerInstance, h, H as Host } from './index-c948674f.js';
import { c as classnames } from './index-394db4c1.js';

const indexCss = "taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";

const Text = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.selectable = false;
  }
  render() {
    const cls = classnames({
      'taro-text__selectable': this.selectable
    });
    return (h(Host, { class: cls }, h("slot", null)));
  }
};
Text.style = indexCss;

export { Text as taro_text_core };

//# sourceMappingURL=taro-text-core.entry.js.map