iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.84 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var m=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&m(o,e,r[e]);if(d)for(var e of d(r))M.call(r,e)&&m(o,e,r[e]);return o};var a=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},c=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!u.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=V(r,t))||i.enumerable});return o};var h=(o,r,e)=>(e=o!=null?C(L(o)):{},c(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),w=o=>c(n({},"__esModule",{value:!0}),o);var G={};a(G,{default:()=>x});module.exports=w(G);var s=h(require("react")),f=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const e=s.useContext(l.IconoirContext),i=p(p({},e),o);return s.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),s.createElement("path",{d:"M1.5 8.5V12M1.5 15.5V12M1.5 12H6M6 12L6 8.5M6 12L6 15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M17.5 15.5V12.7M20.3571 12.7C21.0714 12.7 22.5 12.7 22.5 10.6C22.5 8.5 21.0714 8.5 20.3571 8.5L17.5 8.5V12.7M20.3571 12.7C19.2143 12.7 17.9762 12.7 17.5 12.7M20.3571 12.7L22.5 15.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.5 12V8.5C12 8.5 14.5 8.5 14.5 12C14.5 15.5 12 15.5 9.5 15.5V12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,f.forwardRef)(S);var x=g;