iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.8 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var i=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,C=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&i(o,t,r[t]);if(m)for(var t of m(r))a.call(r,t)&&i(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!c.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=V(r,e))||p.enumerable});return o};var g=(o,r,t)=>(t=o!=null?u(w(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),k=o=>f(n({},"__esModule",{value:!0}),o);var H={};S(H,{default:()=>v});module.exports=k(H);var s=g(require("react")),l=require("react"),d=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(d.IconoirContext),p=C(C({},t),o);return s.createElement("svg",C({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},p),s.createElement("path",{d:"M2 17.4V2.6C2 2.26863 2.26863 2 2.6 2H17.4C17.7314 2 18 2.26863 18 2.6V17.4C18 17.7314 17.7314 18 17.4 18H2.6C2.26863 18 2 17.7314 2 17.4Z",stroke:"currentColor"}),s.createElement("path",{d:"M8 22H21.4C21.7314 22 22 21.7314 22 21.4V8",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M11 12.5C11 13.3284 10.3284 14 9.5 14C8.67157 14 8 13.3284 8 12.5C8 11.6716 8.67157 11 9.5 11C10.3284 11 11 11.6716 11 12.5ZM11 12.5V6.6C11 6.26863 11.2686 6 11.6 6H13",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,l.forwardRef)(x);var v=G;