import { t } from "@lingui/macro"; import { CSSResult, html, LitElement, TemplateResult } from "lit"; import PFExpandableSection from "../../node_modules/@patternfly/patternfly/components/ExpandableSection/expandable-section.css"; import { customElement, property } from "lit/decorators"; @customElement("ak-expand") export class Expand extends LitElement { @property({ type: Boolean }) expanded = false; @property() textOpen = "Show less"; @property() textClosed = "Show more"; static get styles(): CSSResult[] { return [PFExpandableSection]; } render(): TemplateResult { return html`
`; } }