UNPKG

@bulmil/core

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

48 lines (47 loc) 1.42 kB
/*! * Bulmil - MIT License */ import { h } from "@stencil/core"; export class Panel { constructor() { this.color = undefined; } render() { return (h("nav", { key: 'd08196579714d6ba801a96881fd69e3be3dcbd08', class: { panel: true, [this.color]: Boolean(this.color), } }, h("slot", { key: 'b5bf3c0ab78fbe52f1ebd85490c056238a5b97e1' }))); } static get is() { return "bm-panel"; } static get originalStyleUrls() { return { "$": ["panel.scss"] }; } static get styleUrls() { return { "$": ["panel.css"] }; } static get properties() { return { "color": { "type": "string", "mutable": false, "complexType": { "original": "'is-primary' | 'is-link' | 'is-info' | 'is-success' | 'is-danger' | 'is-warning'", "resolved": "\"is-danger\" | \"is-info\" | \"is-link\" | \"is-primary\" | \"is-success\" | \"is-warning\"", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Panel color" }, "attribute": "color", "reflect": false } }; } }