1 |
- import{a as f,J as r,ah as s,ai as a,aj as I}from"./index.4d061c66.js";function u(e,o){const t=/^IF-/;if(t.test(e)){const n=e.split(t)[1],i=n.slice(0,n.indexOf(" ")==-1?n.length:n.indexOf(" ")),c=n.slice(n.indexOf(" ")+1,n.length);return f({name:"FontIcon",render(){return r(s,{icon:i,iconType:c,...o})}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?e:f({name:"Icon",render(){const n=o&&o.online?a:I;return r(n,{icon:e,...o})}})}export{u};
|