UNPKG

703 BJavaScriptView Raw
1import { r as registerInstance, h, H as Host } from './index-c5baf484.js';
2var Column = /** @class */ (function () {
3 function Column(hostRef) {
4 registerInstance(this, hostRef);
5 /**
6 * CSS Classes
7 */
8 this.class = '';
9 }
10 Column.prototype.render = function () {
11 var _a;
12 return (h(Host, { class: (_a = {
13 column: true,
14 'is-narrow': this.isNarrow && typeof this.isNarrow === 'boolean'
15 },
16 _a[this.sizes] = Boolean(this.sizes),
17 _a[this.class] = Boolean(this.class),
18 _a) }));
19 };
20 return Column;
21}());
22export { Column as bm_column };