@bulmil/core
Version:

48 lines (47 loc) • 1.03 kB
JavaScript
/*!
* Bulmil - MIT License
*/
import { Host, h } from '@stencil/core';
export class Buttons {
constructor() {
this.size = undefined;
}
render() {
return (h(Host, null, h("div", { class: {
buttons: true,
[this.size]: Boolean(this.size),
} }, h("slot", null))));
}
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
}
};
}
}