iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.33 kB
JavaScript
"use client";var C=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var u=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,d=(o,r)=>{for(var e in r||(r={}))L.call(r,e)&&u(o,e,r[e]);if(p)for(var e of p(r))h.call(r,e)&&u(o,e,r[e]);return o};var M=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},k=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of a(r))!L.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=m(r,t))||i.enumerable});return o};var w=(o,r,e)=>(e=o!=null?C(f(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),j=o=>k(s({},"__esModule",{value:!0}),o);var G={};M(G,{default:()=>x});module.exports=j(G);var n=w(require("react")),c=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const e=n.useContext(l.IconoirContext),i=d(d({},e),o);return n.createElement("svg",d({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",strokeWidth:1.5,fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),n.createElement("path",{d:"M3.52844 7.29346L9 10.3332",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M22 2L20 2M12 12L12 10C12 6.45478 14.3061 3.44817 17.5 2.39838",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M22 12L20 12M12 22L12 20C12 16.4548 14.3061 13.4482 17.5 12.3984",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 22L3.30861 17.1715C3.11813 17.0656 3 16.8649 3 16.647L2.99998 7.35304C2.99998 7.13514 3.11812 6.93437 3.3086 6.82855L11.7086 2.16188C11.8898 2.06121 12.1102 2.06121 12.2914 2.16188L15 3.66667",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 11.9999L3.52842 7.29346",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 21L12 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15 13.5L15 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(S);var x=g;