iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.91 kB
JavaScript
"use client";var l=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var d=(o,r,e)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))m.call(r,e)&&d(o,e,r[e]);if(C)for(var e of C(r))h.call(r,e)&&d(o,e,r[e]);return o};var w=(o,r)=>{for(var e in r)n(o,e,{get:r[e],enumerable:!0})},u=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of k(r))!m.call(o,t)&&t!==e&&n(o,t,{get:()=>r[t],enumerable:!(i=V(r,t))||i.enumerable});return o};var S=(o,r,e)=>(e=o!=null?l(a(o)):{},u(r||!o||!o.__esModule?n(e,"default",{value:o,enumerable:!0}):e,o)),g=o=>u(n({},"__esModule",{value:!0}),o);var M={};w(M,{default:()=>L});module.exports=g(M);var s=S(require("react")),c=require("react"),f=require("../IconoirContext.js");const x=(o,r)=>{const e=s.useContext(f.IconoirContext),i=p(p({},e),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:"M7 16V11.3615C7 10.8518 7.10026 10.3624 7.28451 9.90769M17 16V12.8154M9.22222 7.73446C10.0167 7.27055 10.9721 7 12 7C14.2795 7 16.2027 8.33062 16.8046 10.15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M10 17V14.8235M14 17V11.8529C14 10.8296 13.1046 10 12 10C10.8954 10 10 10.8296 10 11.8529V12.6471",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,c.forwardRef)(x);var L=G;