iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.32 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty,f=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))f.call(r,e)&&u(o,e,r[e]);return o};var w=(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 M=(o,r,e)=>(e=o!=null?l(h(o)):{},C(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),V=o=>C(s({},"__esModule",{value:!0}),o);var G={};w(G,{default:()=>x});module.exports=V(G);var t=M(require("react")),c=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:"M9.6087 7H14.3913C15.832 7 17 8.16795 17 9.6087C17 9.82481 16.8248 10 16.6087 10H7.3913C7.17519 10 7 9.82481 7 9.6087C7 8.16795 8.16795 7 9.6087 7Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M9 3H15C18.3137 3 21 5.68629 21 9V13C21 16.3137 18.3137 19 15 19H9C5.68629 19 3 16.3137 3 13V9C3 5.68629 5.68629 3 9 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M16 15.01L16.01 14.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8 15.01L8.01 14.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M10.5 19L8.5 21.5",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M13.5 19L15.5 21.5",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M16.5 19L18.5 21.5",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M7.5 19L5.5 21.5",stroke:"currentColor",strokeLinecap:"round"}))},g=(0,c.forwardRef)(S);var x=g;