iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.07 kB
JavaScript
"use client";var l=Object.create;var s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var u=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))L.call(r,e)&&u(o,e,r[e]);if(d)for(var e of d(r))a.call(r,e)&&u(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},k=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of f(r))!L.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=m(r,n))||i.enumerable});return o};var V=(o,r,e)=>(e=o!=null?l(h(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>k(s({},"__esModule",{value:!0}),o);var j={};w(j,{default:()=>G});module.exports=S(j);var t=V(require("react")),C=require("react"),c=require("../IconoirContext.js");const g=(o,r)=>{const e=t.useContext(c.IconoirContext),i=p(p({},e),o);return t.createElement("svg",p({width:"1.5em",strokeWidth:1.5,height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:r},i),t.createElement("path",{d:"M18.5 15L5.5 15",stroke:"currentColor",strokeLinejoin:"round"}),t.createElement("path",{d:"M16 4L8 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M9 4.5L9 10.2602C9 10.7376 8.82922 11.1992 8.51851 11.5617L3.48149 17.4383C3.17078 17.8008 3 18.2624 3 18.7398V19C3 20.1046 3.89543 21 5 21L19 21C20.1046 21 21 20.1046 21 19V18.7398C21 18.2624 20.8292 17.8008 20.5185 17.4383L15.4815 11.5617C15.1708 11.1992 15 10.7376 15 10.2602L15 4.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12 9.01L12.01 8.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11 2.01L11.01 1.99889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,C.forwardRef)(g);var G=x;