import { h, Host } from "@stencil/core";
import { ErrorCodeClass } from "./constants";
import { govHost } from "../../helpers/Dom/template";
export class GovErrorCode {
    constructor() {
        this.h = govHost(this.host);
    }
    render() {
        return (h(Host, { key: '7f4adeeba8a13e44b4e06957ae57c2766869991a', class: this.h.classes(ErrorCodeClass.root), align: "center" }, this.h.hasSlot('icon') && (h("slot", { key: 'bdfcff23dd37e182812701064f92e60d20464525', name: "icon" })), h("div", { key: 'fa5491ab7ca31a23ca2a14d0b1a7f7c05875bc5e', class: ErrorCodeClass.content }, h("slot", { key: '406e89f47b0785f885eaa5016d34d1fb35551aee', name: "headline" }), h("slot", { key: 'af90cf6361b88506a0ca5687daf4b5f7b7157e62' }))));
    }
    static get is() { return "gov-error-code"; }
    static get elementRef() { return "host"; }
}
//# sourceMappingURL=gov-error-code.js.map
