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