v4web-components
Version:
Stencil Component Starter
63 lines (62 loc) • 1.64 kB
JavaScript
import { h } from '@stencil/core';
export class LabDsIconSelectable {
constructor() {
this.icon = undefined;
this.size = 'medium';
}
render() {
return h("span", { class: `material-symbols-outlined v4-icon-selectable ${this.size} notranslate` }, this.icon);
}
static get is() { return "lab-ds-icon-selectable"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["lab-ds-icon-selectable.css"]
};
}
static get styleUrls() {
return {
"$": ["lab-ds-icon-selectable.css"]
};
}
static get properties() {
return {
"icon": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": true,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "icon",
"reflect": false
},
"size": {
"type": "string",
"mutable": false,
"complexType": {
"original": "'x-large' | 'large' | 'medium' | 's-medium' | 'small' | 'x-small' | 'xx-small'",
"resolved": "\"large\" | \"medium\" | \"s-medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-small\"",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "size",
"reflect": false,
"defaultValue": "'medium'"
}
};
}
}
//# sourceMappingURL=lab-ds-icon-selectable.js.map