iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.64 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var p=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,L=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&p(o,e,r[e]);if(d)for(var e of d(r))h.call(r,e)&&p(o,e,r[e]);return o};var w=(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))!u.call(o,t)&&t!==e&&s(o,t,{get:()=>r[t],enumerable:!(i=m(r,t))||i.enumerable});return o};var V=(o,r,e)=>(e=o!=null?l(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 x={};w(x,{default:()=>g});module.exports=j(x);var n=V(require("react")),C=require("react"),c=require("../IconoirContext.js");const M=(o,r)=>{const e=n.useContext(c.IconoirContext),i=L(L({},e),o);return n.createElement("svg",L({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:"M12 22L3.30863 17.1715C3.11815 17.0656 3.00001 16.8649 3.00001 16.647L2.99999 7.35304C2.99999 7.13514 3.11813 6.93437 3.30861 6.82855L11.7086 2.16188C11.8898 2.06121 12.1102 2.06121 12.2914 2.16188L20.6914 6.82855C20.8819 6.93437 21 7.13514 21 7.35304L21 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M3.52844 7.29363L11.7086 11.8382C11.8898 11.9388 12.1102 11.9388 12.2914 11.8382L20.5 7.27783",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 12V17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12 2V9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.6569 17.2427L19.364 17.9498",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M17.2426 18.6567L17.9497 19.3638",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.6569 14.4144L14.4142 18.6571C13.6332 19.4381 13.6332 20.7045 14.4142 21.4855L15.1213 22.1926C15.9024 22.9737 17.1687 22.9737 17.9497 22.1926L22.1924 17.95C22.9734 17.1689 22.9734 15.9026 22.1924 15.1215L21.4853 14.4144C20.7042 13.6334 19.4379 13.6334 18.6569 14.4144Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},S=(0,C.forwardRef)(M);var g=S;