import{s as l,t as c,f as a,O as p,y as d,z as m,D as y}from"./index-DT8qTvyx.js";var _=function(s){l(r,s);function r(){return s!==null&&s.apply(this,arguments)||this}return r.prototype.renderBody=function(){var e=this.props,n=e.body,t=e.render;return n?t("body",n):null},r.prototype.render=function(){var e=this.props,n=e.classnames,t=e.spinnerWrapClassName,i=e.body,o=c(e,["classnames","spinnerWrapClassName","body"]);return i?a.createElement("div",{className:n("Spinner-wrap",t)},a.createElement(p,d({},o)),this.renderBody()):a.createElement(p,d({},o))},r=m([y({type:"spinner"})],r),r}(a.Component);export{_ as SpinnerRenderer};
