iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.53 kB
JavaScript
"use client";var c=Object.create;var s=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var V=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,C=(o,r)=>{for(var e in r||(r={}))d.call(r,e)&&V(o,e,r[e]);if(p)for(var e of p(r))a.call(r,e)&&V(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},u=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of m(r))!d.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=l(r,n))||i.enumerable});return o};var w=(o,r,e)=>(e=o!=null?c(f(o)):{},u(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>u(s({},"__esModule",{value:!0}),o);var H={};h(H,{default:()=>G});module.exports=S(H);var t=w(require("react")),L=require("react"),k=require("../IconoirContext.js");const g=(o,r)=>{const e=t.useContext(k.IconoirContext),i=C(C({},e),o);return t.createElement("svg",C({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:"M18 20L21.8243 16.1757C21.9368 16.0632 22 15.9106 22 15.7515V10.5C22 9.67157 21.3284 9 20.5 9V9C19.6716 9 19 9.67157 19 10.5V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M18 16L18.8581 15.1419C18.949 15.051 19 14.9278 19 14.7994V14.7994C19 14.6159 18.8963 14.4482 18.7322 14.3661L18.2893 14.1447C17.5194 13.7597 16.5894 13.9106 15.9807 14.5193L15.0858 15.4142C14.7107 15.7893 14.5 16.298 14.5 16.8284V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6 20L2.17574 16.1757C2.06321 16.0632 2 15.9106 2 15.7515V10.5C2 9.67157 2.67157 9 3.5 9V9C4.32843 9 5 9.67157 5 10.5V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M6 16L5.14187 15.1419C5.05103 15.051 5 14.9278 5 14.7994V14.7994C5 14.6159 5.10366 14.4482 5.26776 14.3661L5.71067 14.1447C6.48064 13.7597 7.41059 13.9106 8.01931 14.5193L8.91421 15.4142C9.28929 15.7893 9.5 16.298 9.5 16.8284V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.6667 12H10.3333V9.66667H8V6.33333H10.3333V4H13.6667V6.33333H16V9.66667H13.6667V12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,L.forwardRef)(g);var G=x;