import { Component, h, Host, Prop } from "@stencil/core";
import { coreState } from "../../store/core";
export class DataProvider {
  async componentWillLoad() {
    coreState.endpoint = this.url;
  }
  render() {
    return h(Host, null);
  }
  static get is() { return "corejam-data-provider"; }
  static get properties() { return {
    "url": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "url",
      "reflect": true
    }
  }; }
}
