import{s as i,ai as u,z as c,D as l,f as m}from"./index-DT8qTvyx.js";var f=function(t){i(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(){var a=this.props,n=a.render,s=a.props,o=a.schema,r=u(this.props)||o;if(typeof r=="string")try{r=JSON.parse(r)}catch(p){console.warn("amis value must be json string",p),r=null}return n("amis",r,s)},e=c([l({type:"amis"})],e),e}(m.Component);export{f as AMISRenderer};
