import { LitElement, TemplateResult, html } from "lit"; import { customElement, property } from "lit/decorators.js"; @customElement("lobby-config-item") export class LobbyConfigItem extends LitElement { @property({ type: String }) label = ""; @property({ attribute: false }) value: string | TemplateResult = ""; createRenderRoot() { return this; } render() { return html`
${this.label} ${this.value}
`; } }