iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 2.23 kB
JavaScript
"use client";var m=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var d=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,p=(o,r)=>{for(var e in r||(r={}))u.call(r,e)&&d(o,e,r[e]);if(C)for(var e of C(r))L.call(r,e)&&d(o,e,r[e]);return o};var V=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},k=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of a(r))!u.call(o,n)&&n!==e&&s(o,n,{get:()=>r[n],enumerable:!(i=f(r,n))||i.enumerable});return o};var w=(o,r,e)=>(e=o!=null?m(h(o)):{},k(r||!o||!o.__esModule?s(e,"default",{value:o,enumerable:!0}):e,o)),M=o=>k(s({},"__esModule",{value:!0}),o);var G={};V(G,{default:()=>x});module.exports=M(G);var t=w(require("react")),c=require("react"),l=require("../IconoirContext.js");const S=(o,r)=>{const e=t.useContext(l.IconoirContext),i=p(p({},e),o);return t.createElement("svg",p({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},i),t.createElement("path",{d:"M21 8V16C21 18.7614 18.7614 21 16 21H8C5.23858 21 3 18.7614 3 16V8C3 5.23858 5.23858 3 8 3H16C18.7614 3 21 5.23858 21 8Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M9.09859 11.8261C11.6338 11.8261 11.6338 16 9.09859 16C7.6685 16 6 16 6 16V11.8261M9.09859 11.8261C7.6685 11.8261 6 11.8261 6 11.8261M9.09859 11.8261C11.6338 11.8261 11.6338 8 9.09859 8C7.97183 8 6 8 6 8V11.8261",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M15.5 11C14.1193 11 13 12.1193 13 13.5H18C18 12.1193 16.8807 11 15.5 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13 13.5C13 14.8807 14.1193 16 15.5 16C16.4276 16 16.9905 15.6776 17.3126 15.3802",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17 8.5H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=(0,c.forwardRef)(S);var x=g;