@bulmil/core
Version:

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