iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.21 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=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,p=(o,r)=>{for(var e in r||(r={}))L.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))h.call(r,e)&&u(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},C=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of f(r))!L.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=m(r,n))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?l(a(o)):{},C(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>C(s({},"__esModule",{value:!0}),o);var j={};w(j,{default:()=>V});module.exports=g(j);var t=S(require("react")),k=require("react"),c=require("../IconoirContext.js");const x=(o,r)=>{const e=t.useContext(c.IconoirContext),i=p(p({},e),o);return t.createElement("svg",p({width:"1.5em",height:"1.5em",strokeWidth:1.5,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),t.createElement("path",{d:"M20 17.6073C21.4937 17.0221 23 15.6889 23 13C23 9 19.6667 8 18 8C18 6 18 2 12 2C6 2 6 6 6 8C4.33333 8 1 9 1 13C1 15.6889 2.50628 17.0221 4 17.6073",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M7.58059 19.4874L9.34836 21.2552C10.9105 22.8173 13.4431 22.8173 15.0052 21.2552L15.3588 20.9016",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M7.93413 21.9623L7.58058 19.4874L10.0554 19.841L7.93413 21.9623Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16.2981 16.9016L14.5303 15.1339C12.9682 13.5718 10.4355 13.5718 8.87345 15.1339L8.51989 15.4874",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.9445 14.4268L16.2981 16.9017L13.8232 16.5481L15.9445 14.4268Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,k.forwardRef)(x);var V=G;