UNPKG

radh-ui

Version:

Stencil Component Starter

24 lines (23 loc) 882 B
import { Component, h } from '@stencil/core'; export class RadhCard { render() { return (h("article", { class: "card" }, h("h2", { class: "title content" }, h("slot", { name: "title" })), h("div", { class: "image" }, h("slot", { name: "image" })), h("p", { class: "description content" }, h("slot", { name: "description" })), h("footer", { class: "footer content" }, h("slot", { name: "footer" })), h("radh-separator", { class: "separator", color: "var(--radh-nude, red)" }))); } static get is() { return "radh-card"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["radh-card.css"] }; } static get styleUrls() { return { "$": ["radh-card.css"] }; } }