UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 1.84 kB
"use client";var u=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var m=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,C=(o,r)=>{for(var e in r||(r={}))c.call(r,e)&&m(o,e,r[e]);if(p)for(var e of p(r))h.call(r,e)&&m(o,e,r[e]);return o};var k=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of V(r))!c.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var S=(o,r,e)=>(e=o!=null?u(a(o)):{},f(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var v={};k(v,{default:()=>L});module.exports=g(v);var i=S(require("react")),d=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const e=i.useContext(l.IconoirContext),s=C(C({},e),o);return i.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},s),i.createElement("path",{d:"M2 19V9C2 7.89543 2.89543 7 4 7H4.5C5.12951 7 5.72229 6.70361 6.1 6.2L8.32 3.24C8.43331 3.08892 8.61115 3 8.8 3H15.2C15.3889 3 15.5667 3.08892 15.68 3.24L17.9 6.2C18.2777 6.70361 18.8705 7 19.5 7H20C21.1046 7 22 7.89543 22 9V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M12 17C14.2091 17 16 15.2091 16 13C16 10.7909 14.2091 9 12 9C9.79086 9 8 10.7909 8 13C8 15.2091 9.79086 17 12 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,d.forwardRef)(x);var L=G;