import{s as d,f as a,ag as o,z as m,D as f}from"./index-DT8qTvyx.js";var h=function(t){d(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.renderChild=function(n,r){var s=this.props.render;return s(n,r)},e.prototype.renderCell=function(n,r){var s=this.props.classPrefix;return a.createElement("div",{className:o("".concat(s,"Vbox-cell"),n.cellClassName)},this.renderChild("row/".concat(r),n))},e.prototype.render=function(){var n=this,r=this.props,s=r.className,p=r.style,l=r.rows,u=r.classPrefix;return a.createElement("div",{className:o("".concat(u,"Vbox"),s),style:p},Array.isArray(l)?l.map(function(c,i){return a.createElement("div",{className:o("row-row",c.rowClassName),key:i},n.renderCell(c,i))}):null)},e.propsList=["rows"],e.defaultProps={},e}(a.Component),y=function(t){d(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e=m([f({type:"vbox"})],e),e}(h);export{y as VBoxRenderer,h as default};
