iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.57 kB
JavaScript
"use client";var k=Object.create;var C=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var p=(o,r,e)=>r in o?C(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,i=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&p(o,e,r[e]);if(l)for(var e of l(r))L.call(r,e)&&p(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)C(o,e,{get:r[e],enumerable:!0})},d=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of h(r))!u.call(o,n)&&n!==e&&C(o,n,{get:()=>r[n],enumerable:!(s=m(r,n))||s.enumerable});return o};var M=(o,r,e)=>(e=o!=null?k(a(o)):{},d(r||!o||!o.__esModule?C(e,"default",{value:o,enumerable:!0}):e,o)),S=o=>d(C({},"__esModule",{value:!0}),o);var G={};w(G,{default:()=>x});module.exports=S(G);var t=M(require("react")),c=require("react"),f=require("../IconoirContext.js");const V=(o,r)=>{const e=t.useContext(f.IconoirContext),s=i(i({},e),o);return t.createElement("svg",i({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),t.createElement("path",{d:"M2.8 8.1C2.8 8.59706 2.39706 9 1.9 9C1.40294 9 1 8.59706 1 8.1C1 7.60294 1.40294 7.2 1.9 7.2C2.39706 7.2 2.8 7.60294 2.8 8.1Z",fill:"currentColor"}),t.createElement("path",{d:"M2.8 8.1C2.8 8.59706 2.39706 9 1.9 9C1.40294 9 1 8.59706 1 8.1C1 7.60294 1.40294 7.2 1.9 7.2C2.39706 7.2 2.8 7.60294 2.8 8.1ZM2.8 8.1V3.6C2.8 3.26863 3.06863 3 3.4 3H5",stroke:"currentColor",strokeLinecap:"round"}),t.createElement("path",{d:"M8 17C9.10457 17 10 16.1046 10 15C10 13.8954 9.10457 13 8 13C6.89543 13 6 13.8954 6 15C6 16.1046 6.89543 17 8 17Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.04938 13C2.5511 18.0533 6.81465 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C10.5778 2 9.22492 2.2969 8 2.83209",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.5 9C15.7761 9 16 8.77614 16 8.5C16 8.22386 15.7761 8 15.5 8C15.2239 8 15 8.22386 15 8.5C15 8.77614 15.2239 9 15.5 9Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8.5 9C8.77614 9 9 8.77614 9 8.5C9 8.22386 8.77614 8 8.5 8C8.22386 8 8 8.22386 8 8.5C8 8.77614 8.22386 9 8.5 9Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(V);var x=g;