UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.74 kB
"use client";var C=Object.create;var n=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,V=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var c=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,i=(o,r)=>{for(var e in r||(r={}))f.call(r,e)&&c(o,e,r[e]);if(m)for(var e of m(r))a.call(r,e)&&c(o,e,r[e]);return o};var h=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},d=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of L(r))!f.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(s=w(r,t))||s.enumerable});return o};var k=(o,r,e)=>(e=o!=null?C(V(o)):{},d(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>d(n({},"__esModule",{value:!0}),o);var v={};h(v,{default:()=>G});module.exports=S(v);var p=k(require("react")),l=require("react"),u=require("../IconoirContext.js");const g=(o,r)=>{const e=p.useContext(u.IconoirContext),s=i(i({},e),o);return p.createElement("svg",i({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},s),p.createElement("path",{d:"M16 5H19M22 5H19M19 5V2M19 5V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M16.8189 14.3287L11.4948 20.3183C10.6992 21.2134 9.30076 21.2134 8.50518 20.3183L3.18109 14.3287C2.50752 13.571 2.50752 12.429 3.18109 11.6713L8.50518 5.68167C9.30076 4.78664 10.6992 4.78664 11.4948 5.68167L16.8189 11.6713C17.4925 12.429 17.4925 13.571 16.8189 14.3287Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,l.forwardRef)(g);var G=x;