import { t } from "@lingui/macro"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import PFExpandableSection from "../../node_modules/@patternfly/patternfly/components/ExpandableSection/expandable-section.css"; @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`
`; } }