iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.75 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,V=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,p=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&m(o,t,r[t]);if(C)for(var t of C(r))V.call(r,t)&&m(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},d=(o,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of k(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(i=h(r,e))||i.enumerable});return o};var S=(o,r,t)=>(t=o!=null?u(w(o)):{},d(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>d(n({},"__esModule",{value:!0}),o);var L={};a(L,{default:()=>v});module.exports=g(L);var s=S(require("react")),f=require("react"),l=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(l.IconoirContext),i=p(p({},t),o);return s.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},i),s.createElement("path",{d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M3 16V8C3 5.23858 5.23858 3 8 3H16C18.7614 3 21 5.23858 21 8V16C21 18.7614 18.7614 21 16 21H8C5.23858 21 3 18.7614 3 16Z",stroke:"currentColor"}),s.createElement("path",{d:"M17.5 6.51L17.51 6.49889",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,f.forwardRef)(x);var v=G;