'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-e1b469cd.js');
const index$1 = require('./index-067a58c1.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) {
    index.registerInstance(this, hostRef);
    this.selectable = false;
  }
  render() {
    const cls = index$1.classnames({
      'taro-text__selectable': this.selectable
    });
    return (index.h(index.Host, { class: cls }, index.h("slot", null)));
  }
};
Text.style = indexCss;

exports.taro_text_core = Text;

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