UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.62 kB
"use client";var u=Object.create;var n=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,S=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,V=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&m(o,t,r[t]);if(i)for(var t of i(r))a.call(r,t)&&m(o,t,r[t]);return o};var g=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=d(r,e))||s.enumerable});return o};var h=(o,r,t)=>(t=o!=null?u(S(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>l(n({},"__esModule",{value:!0}),o);var H={};g(H,{default:()=>v});module.exports=x(H);var p=h(require("react")),C=require("react"),c=require("../IconoirContext.js");const G=(o,r)=>{const t=p.useContext(c.IconoirContext),s=V(V({},t),o);return p.createElement("svg",V({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},s),p.createElement("path",{d:"M10 21H9C7.89543 21 7 20.1046 7 19V18C7 16.8954 7.89543 16 9 16H12V8V4L17 3V7L12 8V16V19C12 20.1046 11.1046 21 10 21Z",fill:"currentColor"}),p.createElement("path",{d:"M12 16V19C12 20.1046 11.1046 21 10 21H9C7.89543 21 7 20.1046 7 19V18C7 16.8954 7.89543 16 9 16H12ZM12 16V8M12 8V4L17 3V7L12 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},L=(0,C.forwardRef)(G);var v=L;