iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.92 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var p=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&p(o,t,r[t]);if(l)for(var t of l(r))V.call(r,t)&&p(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,C)=>{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:!(C=h(r,e))||C.enumerable});return o};var S=(o,r,t)=>(t=o!=null?d(w(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>f(n({},"__esModule",{value:!0}),o);var L={};a(L,{default:()=>v});module.exports=g(L);var s=S(require("react")),m=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(u.IconoirContext),C=i(i({},t),o);return s.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},C),s.createElement("path",{d:"M3 20.4V3.6C3 3.26863 3.26863 3 3.6 3H20.4C20.7314 3 21 3.26863 21 3.6V20.4C21 20.7314 20.7314 21 20.4 21H3.6C3.26863 21 3 20.7314 3 20.4Z",stroke:"currentColor"}),s.createElement("path",{d:"M7.5 8C7.22386 8 7 7.77614 7 7.5C7 7.22386 7.22386 7 7.5 7C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M16.5 17C16.2239 17 16 16.7761 16 16.5C16 16.2239 16.2239 16 16.5 16C16.7761 16 17 16.2239 17 16.5C17 16.7761 16.7761 17 16.5 17Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},G=(0,m.forwardRef)(x);var v=G;