import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; import PFTitle from "@patternfly/patternfly/components/Title/title.css"; import AKGlobal from "../authentik.css"; import { SpinnerSize } from "./Spinner"; @customElement("ak-empty-state") export class EmptyState extends LitElement { @property({type: String}) icon = ""; @property({type: Boolean}) loading = false; @property({type: Boolean}) fullHeight = false; @property() header = ""; static get styles(): CSSResult[] { return [PFBase, PFEmptyState, PFTitle, AKGlobal]; } render(): TemplateResult { return html`