1 | import { r as registerInstance, h } from './index-3da235db.js';
|
2 | var iconCss = ".icon{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;height:1.5rem;width:1.5rem}.icon.is-small{height:1rem;width:1rem}.icon.is-medium{height:2rem;width:2rem}.icon.is-large{height:3rem;width:3rem}";
|
3 | var Icon = (function () {
|
4 | function Icon(hostRef) {
|
5 | registerInstance(this, hostRef);
|
6 | }
|
7 | Icon.prototype.render = function () {
|
8 | var _a;
|
9 | return (h("span", { class: (_a = {
|
10 | icon: true
|
11 | },
|
12 | _a[this.color] = Boolean(this.color),
|
13 | _a[this.size] = Boolean(this.size),
|
14 | _a) }, h("slot", null)));
|
15 | };
|
16 | return Icon;
|
17 | }());
|
18 | Icon.style = iconCss;
|
19 | export { Icon as bm_icon };
|