radh-ui
Version:
Stencil Component Starter
19 lines (18 loc) • 644 B
JavaScript
import { Component, h } from '@stencil/core';
export class PageContainer {
render() {
return (h("section", { class: "page-container" },
h("div", { class: "background" },
h("slot", { name: "background" })),
h("div", { class: "foreground" },
h("slot", { name: "foreground" }))));
}
static get is() { return "radh-page-container"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() { return {
"$": ["radh-page-container.css"]
}; }
static get styleUrls() { return {
"$": ["radh-page-container.css"]
}; }
}