import{__rest as i,__assign as r}from'./../ext-esm/tslib/tslib.es6.js';import{jsx as e}from"react/jsx-runtime";import t from"classnames";import o from"@icon-park/react/es/all";import{makeStyles as s}from"@material-ui/core";import{ICON_SIZES as n}from"./constants.js";var a=s({iconWrapper:function(i){var r=i.iconSize,e=void 0===r?24:r;return{width:e,height:e}}}),m=function(s){return function(m){var c=m.size,l=void 0===c?24:c,f=m.className,p=i(m,["size","className"]),u="string"==typeof l?n[l]:l,d=a({iconSize:u});return e(o,r({strokeWidth:3},p,{type:s,className:t(d.iconWrapper,f),size:u}))}},c=function(t){return void 0===t&&(t=null),function(o){var s=o.size,a=void 0===s?24:s,m=o.className,c=o.fill,l=i(o,["size","className","fill"]),f="string"==typeof a?n[a]:a;return e(t,r({className:m,width:f,height:f,fill:c||"#FFFFFF"},l))}};export{c as withCustomIconSize,m as withCustomSize};
