mwcpl
Version:
Master's Web Component Pattern Library
19 lines (18 loc) • 599 B
JavaScript
import { Component, h } from '@stencil/core';
export class MwcplListItem {
render() {
return (h("li", null,
h("slot", { name: "leading-icon" }),
h("slot", null),
h("span", { class: "spacer" }),
h("slot", { name: "trailing-icon" })));
}
static get is() { return "mwcpl-list-item"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() { return {
"$": ["mwcpl-list-item.scss"]
}; }
static get styleUrls() { return {
"$": ["mwcpl-list-item.css"]
}; }
}