iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.94 kB
JavaScript
"use client";var V=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getPrototypeOf,k=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,i=(o,r)=>{for(var e in r||(r={}))k.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 C=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of a(r))!k.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(p=m(r,n))||p.enumerable});return o};var w=(o,r,e)=>(e=o!=null?V(f(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>c(s({},"__esModule",{value:!0}),o);var G={};C(G,{default:()=>x});module.exports=M(G);var t=w(require("react")),l=require("react"),L=require("../IconoirContext.js");const S=(o,r)=>{const e=t.useContext(L.IconoirContext),p=i(i({},e),o);return t.createElement("svg",i({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},p),t.createElement("path",{d:"M1 8L23 8V15L11 15V17L7.5 17V15L1 15V8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M7.5 8L7.5 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.5 8V15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M18 11V15",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M5 11V15",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M11 11V12",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M20.5 11V15",stroke:"currentColor",strokeLinecap:"round"}))},g=(0,l.forwardRef)(S);var x=g;