@diondre27/smart-components
Version:
Smart Web Components
29 lines (28 loc) • 859 B
JavaScript
import { h } from "@stencil/core";
export class SmtButton {
render() {
return (h("div", { class: "container" },
h("div", { class: "row" },
h("button", { type: "button", class: "btn btn-primary" }, this.buttonText))));
}
static get is() { return "smart-button"; }
static get properties() { return {
"buttonText": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "button-text",
"reflect": false
}
}; }
}