import { h, Host } from '@stencil/core';
import classNames from 'classnames';
export class Text {
  constructor() {
    this.selectable = false;
  }
  render() {
    const cls = classNames({
      'taro-text__selectable': this.selectable
    });
    return (h(Host, { class: cls }, h("slot", null)));
  }
  static get is() { return "taro-text-core"; }
  static get originalStyleUrls() {
    return {
      "$": ["./style/index.scss"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["./style/index.css"]
    };
  }
  static get properties() {
    return {
      "selectable": {
        "type": "boolean",
        "mutable": false,
        "complexType": {
          "original": "boolean",
          "resolved": "boolean",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": ""
        },
        "attribute": "selectable",
        "reflect": false,
        "defaultValue": "false"
      }
    };
  }
}
//# sourceMappingURL=text.js.map
