UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 2.12 kB
"use client";var u=Object.defineProperty;var s=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var i=(n,r,e)=>r in n?u(n,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[r]=e,t=(n,r)=>{for(var e in r||(r={}))p.call(r,e)&&i(n,e,r[e]);if(s)for(var e of s(r))k.call(r,e)&&i(n,e,r[e]);return n};import*as o from"react";import{forwardRef as L}from"react";import{IconoirContext as C}from"../IconoirContext.mjs";const c=(n,r)=>{const e=o.useContext(C),d=t(t({},e),n);return o.createElement("svg",t({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},d),o.createElement("path",{d:"M3 19V5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19Z",stroke:"currentColor"}),o.createElement("path",{d:"M10 15C8.34315 15 7 13.6569 7 12C7 10.3431 8.34315 9 10 9C11.6569 9 13 10.3431 13 12C13 13.6569 11.6569 15 10 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M18 14L18 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M12.5 9.5L13.5 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M7.5 9.5L6.5 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M6.5 15.5L7.5 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M13.5 15.5L12.5 14.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 8L3 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 6L3 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M3 16H2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M3 18H2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},l=L(c);var M=l;export{M as default};