import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; import { customElement, property } from "lit/decorators.js"; 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 = t`Show less`; @property() textClosed = t`Show more`; static get styles(): CSSResult[] { return [PFExpandableSection]; } render(): TemplateResult { return html`
`; } }