UNPKG

@bulmil/core

Version:

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

48 lines (47 loc) 1.4 kB
/*! * Bulmil - MIT License */ import { h, Host } from "@stencil/core"; export class Content { constructor() { this.size = undefined; } render() { return (h(Host, { key: 'c92b7ac081e0b435a6e63c5b971a731f1e610fea' }, h("div", { key: '3f585cd101115177e899c0a90ded212b3c62604d', class: { content: true, [this.size]: Boolean(this.size), } }, h("slot", { key: 'e91e3fb54569f373da40eadb5005d5f407027dc1' })))); } static get is() { return "bm-content"; } static get originalStyleUrls() { return { "$": ["content.scss"] }; } static get styleUrls() { return { "$": ["content.css"] }; } static get properties() { return { "size": { "type": "string", "mutable": false, "complexType": { "original": "'is-small' | 'is-medium' | 'is-large'", "resolved": "\"is-large\" | \"is-medium\" | \"is-small\"", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Content size" }, "attribute": "size", "reflect": false } }; } }