iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2 kB
JavaScript
"use client";var f=Object.create;var s=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var u=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&u(o,t,r[t]);if(d)for(var t of d(r))h.call(r,t)&&u(o,t,r[t]);return o};var L=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of V(r))!c.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(p=k(r,n))||p.enumerable});return o};var w=(o,r,t)=>(t=o!=null?f(a(o)):{},l(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),M=o=>l(s({},"__esModule",{value:!0}),o);var G={};L(G,{default:()=>x});module.exports=M(G);var e=w(require("react")),m=require("react"),C=require("../IconoirContext.js");const S=(o,r)=>{const t=e.useContext(C.IconoirContext),p=i(i({},t),o);return e.createElement("svg",i({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},p),e.createElement("path",{d:"M10 13.1538V21",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M15 8.38452V11.1538C15 12.2583 14.1046 13.1538 13 13.1538H7C5.89543 13.1538 5 12.2583 5 11.1538V8.38452C5 7.27995 5.89543 6.38452 7 6.38452H13C14.1046 6.38452 15 7.27995 15 8.38452Z",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M13.3334 6.38462V3",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M6.66663 6.38462V3",stroke:"currentColor",strokeLinecap:"round"}),e.createElement("path",{d:"M15.1213 21.364L17.2427 19.2427M17.2427 19.2427L19.364 17.1213M17.2427 19.2427L15.1213 17.1213M17.2427 19.2427L19.364 21.364",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,m.forwardRef)(S);var x=g;