import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{jsx as t}from"react/jsx-runtime";import{forwardRef as o}from"react";import i from"@icon-park/react/es/all";import{ICON_SIZES as n}from"./constants.js";var s=["size","style"],c=["size","className","fill"];function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function f(r){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){e(r,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}))}return r}var a=function(e){return function(o){var c=o.size,p=void 0===c?24:c,a=o.style,l=r(o,s),u="string"==typeof p?n[p]:p;return t(i,f(f({strokeWidth:3},l),{},{type:e,size:u,style:f({width:u,height:u},a)}))}},l=function(e){return o((function(o,i){var s=o.size,p=void 0===s?24:s,a=o.className,l=o.fill,u=r(o,c),m="string"==typeof p?n[p]:p,b=f({className:a,width:m,height:m,fill:l||"#FFFFFF",ref:i},u);return t(e,f({},b))}))};export{l as withCustomIconSize,a as withCustomSize};
//# sourceMappingURL=WithCustomSize.js.map
