UNPKG

bulmil

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

20 lines (19 loc) 857 B
import { r as registerInstance, h } from './index-3da235db.js'; 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}"; var Icon = /** @class */ (function () { function Icon(hostRef) { registerInstance(this, hostRef); } Icon.prototype.render = function () { var _a; return (h("span", { class: (_a = { icon: true }, _a[this.color] = Boolean(this.color), _a[this.size] = Boolean(this.size), _a) }, h("slot", null))); }; return Icon; }()); Icon.style = iconCss; export { Icon as bm_icon };