import { Component, h, Prop } from '@stencil/core';
export class DevingenHomePage {
  render() {
    const { message, onRetry } = this;
    return (h("div", { class: "d-flex justify-content-center pt-3" },
      h("dvn-card", { tint: "danger" },
        message,
        onRetry &&
          h("dvn-card-footer", { alignRight: true, onClick: () => onRetry(), slot: "footer" },
            h("dvn-button", { leaned: true }, "Retry")))));
  }
  static get is() { return "devingen-error-card"; }
  static get properties() { return {
    "message": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "message",
      "reflect": false
    },
    "error": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "ApiError",
        "resolved": "ApiError",
        "references": {
          "ApiError": {
            "location": "import",
            "path": "@dvn/core/api"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    },
    "onRetry": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "() => void",
        "resolved": "() => void",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    }
  }; }
}
