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