@bulmil/core
Version:

26 lines (21 loc) • 659 B
JavaScript
/*!
* Bulmil - MIT License
*/
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-965e612c.js');
const Column = class {
constructor(hostRef) {
index.registerInstance(this, hostRef);
this.sizes = undefined;
this.isNarrow = undefined;
}
render() {
return (index.h(index.Host, { key: '1b5645e647b024fb55925537c174b48327777c1b', class: {
column: true,
'is-narrow': this.isNarrow && typeof this.isNarrow === 'boolean',
[this.sizes]: Boolean(this.sizes),
} }));
}
};
exports.bm_column = Column;