import*as t from"react";import{IconContext as r,DefaultContext as e}from"./iconContext.js";var n=function(){return(n=Object.assign||function(t){for(var r,e=1,n=arguments.length;e<n;e++)for(var o in r=arguments[e])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t}).apply(this,arguments)},o=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.indexOf(n)<0&&(e[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)r.indexOf(n[o])<0&&(e[n[o]]=t[n[o]])}return e};function l(r){return r&&r.map((function(r,e){return t.createElement(r.tag,n({key:e},r.attr),l(r.child))}))}function a(r){return function(e){return t.createElement(c,n({attr:n({},r.attr)},e),l(r.child))}}function c(l){var a=function(r){var e,a=l.size||r.size||"1em";r.className&&(e=r.className),l.className&&(e=(e?e+" ":"")+l.className);var c=l.attr,i=l.title,s=o(l,["attr","title"]);return t.createElement("svg",n({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,c,s,{className:e,style:n({color:l.color||r.color},r.style,l.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),i&&t.createElement("title",null,i),l.children)};return void 0!==r?t.createElement(r.Consumer,null,(function(t){return a(t)})):a(e)}export{a as GenIcon,c as IconBase};
//# sourceMappingURL=iconBase.js.map
