UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 2.03 kB
"use client";var d=Object.create;var s=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,p=(o,r)=>{for(var t in r||(r={}))l.call(r,t)&&m(o,t,r[t]);if(i)for(var t of i(r))k.call(r,t)&&m(o,t,r[t]);return o};var M=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>r[n],enumerable:!(C=u(r,n))||C.enumerable});return o};var S=(o,r,t)=>(t=o!=null?d(w(o)):{},f(r||!o||!o.__esModule?s(t,"default",{value:o,enumerable:!0}):t,o)),a=o=>f(s({},"__esModule",{value:!0}),o);var H={};M(H,{default:()=>G});module.exports=a(H);var e=S(require("react")),V=require("react"),c=require("../IconoirContext.js");const g=(o,r)=>{const t=e.useContext(c.IconoirContext),C=p(p({},t),o);return e.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},C),e.createElement("path",{d:"M14.8713 19.1213L16.9926 17M19.114 14.8787L16.9926 17M16.9926 17L14.8713 14.8787M16.9926 17L19.114 19.1213",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M4 9.4V4.6C4 4.26863 4.26863 4 4.6 4H9.4C9.73137 4 10 4.26863 10 4.6V9.4C10 9.73137 9.73137 10 9.4 10H4.6C4.26863 10 4 9.73137 4 9.4Z",stroke:"currentColor"}),e.createElement("path",{d:"M4 19.4V14.6C4 14.2686 4.26863 14 4.6 14H9.4C9.73137 14 10 14.2686 10 14.6V19.4C10 19.7314 9.73137 20 9.4 20H4.6C4.26863 20 4 19.7314 4 19.4Z",stroke:"currentColor"}),e.createElement("path",{d:"M14 9.4V4.6C14 4.26863 14.2686 4 14.6 4H19.4C19.7314 4 20 4.26863 20 4.6V9.4C20 9.73137 19.7314 10 19.4 10H14.6C14.2686 10 14 9.73137 14 9.4Z",stroke:"currentColor"}))},x=(0,V.forwardRef)(g);var G=x;