2 lines
457 B
JavaScript
2 lines
457 B
JavaScript
import{t as i,aq as u,D as l,E as c,l as m}from"./index-CEmnTf-r.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=l([c({type:"amis"})],e),e}(m.Component);export{f as AMISRenderer};
|