@bulmil/core
Version:

48 lines (47 loc) • 1.4 kB
JavaScript
/*!
* 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
}
};
}
}