UNPKG

@scania/tegel

Version:
61 lines (60 loc) 1.96 kB
import { h, Host } from "@stencil/core"; export class TdsSideMenuUserLabel { render() { return (h(Host, { key: '6bf3db10e42a755d16ee5476fade2b566098f51e' }, this.heading, this.subheading && h("div", { key: '67d4a5cedc6ad790f7de79ebc1b2c9e42a842977', class: "subheading" }, this.subheading))); } static get is() { return "tds-side-menu-user-label"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["side-menu-user-label.scss"] }; } static get styleUrls() { return { "$": ["side-menu-user-label.css"] }; } static get properties() { return { "heading": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": true, "optional": false, "docs": { "tags": [], "text": "The heading text." }, "getter": false, "setter": false, "reflect": false, "attribute": "heading" }, "subheading": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string | undefined", "references": {} }, "required": false, "optional": true, "docs": { "tags": [], "text": "The subheading text." }, "getter": false, "setter": false, "reflect": false, "attribute": "subheading" } }; } }