iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.04 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,L=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,V=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,p=(o,r)=>{for(var e in r||(r={}))C.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))V.call(r,e)&&u(o,e,r[e]);return o};var a=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},k=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!C.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=f(r,n))||i.enumerable});return o};var w=(o,r,e)=>(e=o!=null?m(L(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>k(s({},"__esModule",{value:!0}),o);var M={};a(M,{default:()=>G});module.exports=S(M);var t=w(require("react")),l=require("react"),c=require("../IconoirContext.js");const g=(o,r)=>{const e=t.useContext(c.IconoirContext),i=p(p({},e),o);return t.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),t.createElement("path",{d:"M1 15V9C1 5.68629 3.68629 3 7 3H17C20.3137 3 23 5.68629 23 9V15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15Z",stroke:"currentColor"}),t.createElement("path",{d:"M7 9C8.65685 9 10 10.3431 10 12C10 13.6569 8.65685 15 7 15C5.34315 15 4 13.6569 4 12C4 10.3431 5.34315 9 7 9Z",stroke:"currentColor"}),t.createElement("path",{d:"M12 15V9L15 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17 15V9L20 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0001 12H14.5715",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.0001 12H19.5715",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,l.forwardRef)(g);var G=x;