iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.95 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var V=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))i.call(r,t)&&V(o,t,r[t]);if(m)for(var t of m(r))a.call(r,t)&&V(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},c=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!i.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(C=u(r,e))||C.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(w(o)):{},c(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>c(n({},"__esModule",{value:!0}),o);var v={};S(v,{default:()=>L});module.exports=k(v);var s=g(require("react")),f=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(l.IconoirContext),C=p(p({},t),o);return s.createElement("svg",p({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},C),s.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"}),s.createElement("path",{d:"M10.5 10L10.3284 9.82843C9.79799 9.29799 9.07857 9 8.32843 9V9C6.76633 9 5.5 10.2663 5.5 11.8284V12.1716C5.5 13.7337 6.76633 15 8.32843 15V15C9.07857 15 9.79799 14.702 10.3284 14.1716L10.5 14",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M18.5 10L18.3284 9.82843C17.798 9.29799 17.0786 9 16.3284 9V9C14.7663 9 13.5 10.2663 13.5 11.8284V12.1716C13.5 13.7337 14.7663 15 16.3284 15V15C17.0786 15 17.798 14.702 18.3284 14.1716L18.5 14",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,f.forwardRef)(x);var L=G;