@hugeicons/react
Version:
HugeIcons Pro React Component Library https://hugeicons.com
3 lines (2 loc) • 885 B
JavaScript
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).HugeiconsReact={},e.React)}(this,(function(e,o){"use strict";const t={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},i=o.forwardRef((({color:e="currentColor",size:i=24,strokeWidth:n,absoluteStrokeWidth:r=!1,className:s="",altIcon:c,showAlt:l=!1,icon:a,...d},f)=>{const u=void 0!==n?r?24*Number(n)/Number(i):n:void 0,h=void 0!==u?{strokeWidth:u,stroke:"currentColor"}:{},m={ref:f,...t,width:i,height:i,color:e,className:s,...h,...d},g=(l&&c?c:a).map((([e,t])=>o.createElement(e,{...t,...h,key:t.key})));return o.createElement("svg",m,g)}));i.displayName="HugeiconsIcon",e.HugeiconsIcon=i}));
//# sourceMappingURL=index.js.map