UNPKG

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
"use client";var f=Object.create;var s=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var d=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,C=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&d(o,e,r[e]);if(i)for(var e of i(r))h.call(r,e)&&d(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 k(r))!u.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(p=V(r,n))||p.enumerable});return o};var S=(o,r,e)=>(e=o!=null?f(a(o)):{},c(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>c(s({},"__esModule",{value:!0}),o);var v={};w(v,{default:()=>L});module.exports=g(v);var t=S(require("react")),m=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const e=t.useContext(l.IconoirContext),p=C(C({},e),o);return t.createElement("svg",C({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),t.createElement("path",{d:"M1 20V19C1 15.134 4.13401 12 8 12V12C11.866 12 15 15.134 15 19V20",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M13 14V14C13 11.2386 15.2386 9 18 9V9C20.7614 9 23 11.2386 23 14V14.5",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,m.forwardRef)(x);var L=G;