UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 3.03 kB
"use client";var a=Object.create;var s=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,j=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var k=(o,r,n)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,d=(o,r)=>{for(var n in r||(r={}))L.call(r,n)&&k(o,n,r[n]);if(u)for(var n of u(r))M.call(r,n)&&k(o,n,r[n]);return o};var m=(o,r)=>{for(var n in r)s(o,n,{get:r[n],enumerable:!0})},p=(o,r,n,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of C(r))!L.call(o,t)&&t!==n&&s(o,t,{get:()=>r[t],enumerable:!(i=h(r,t))||i.enumerable});return o};var f=(o,r,n)=>(n=o!=null?a(j(o)):{},p(r||!o||!o.__esModule?s(n,"default",{value:o,enumerable:!0}):n,o)),w=o=>p(s({},"__esModule",{value:!0}),o);var G={};m(G,{default:()=>x});module.exports=w(G);var e=f(require("react")),c=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const n=e.useContext(l.IconoirContext),i=d(d({},n),o);return e.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),e.createElement("path",{d:"M2 4L22 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M3 8.01L3.01 7.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M3 16.01L3.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 12.01L6.01 11.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M6 20.01L6.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M9 8.01L9.01 7.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M9 16.01L9.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 12.01L12.01 11.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M12 20.01L12.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15 8.01L15.01 7.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15 16.01L15.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18 12.01L18.01 11.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M18 20.01L18.01 19.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M21 8.01L21.01 7.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M21 16.01L21.01 15.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(S);var x=g;