import{s as o,f as i,y as m,z as y,D as f}from"./index-DT8qTvyx.js";var v=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(){var n=this.props,d=n.className,c=n.style,l=n.buttons,p=n.render,u=n.classnames,a=n.testIdBuilder;return i.createElement("div",{className:u("OperationField",d),style:c},Array.isArray(l)?l.map(function(r,s){return p("".concat(s),m({type:"button",size:r.size||"sm",level:r.level||(r.icon&&!r.label?"link":"")},r),{key:s,testIdBuilder:a==null?void 0:a.getChild("button-".concat(r.testid||r.id||s))})}):null)},e.propsList=["buttons","label"],e.defaultProps={},e}(i.Component),F=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e=y([f({type:"operation"})],e),e}(v);export{v as OperationField,F as OperationFieldRenderer};
