UNPKG

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