iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.63 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var c=(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={}))f.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))w.call(r,t)&&c(o,t,r[t]);return o};var k=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of a(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=V(r,e))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?C(h(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),g=o=>l(n({},"__esModule",{value:!0}),o);var H={};k(H,{default:()=>v});module.exports=g(H);var s=S(require("react")),d=require("react"),u=require("../IconoirContext.js");const x=(o,r)=>{const t=s.useContext(u.IconoirContext),p=i(i({},t),o);return s.createElement("svg",i({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},p),s.createElement("path",{d:"M7 11C7 8.79086 8.79086 7 11 7H13C15.2091 7 17 8.79086 17 11V20.4C17 20.7314 16.7314 21 16.4 21H7.6C7.26863 21 7 20.7314 7 20.4V11Z",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M7 13H17",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M12 7V3M12 3H9M12 3H13",stroke:"currentColor",strokeLinecap:"round"}))},G=(0,d.forwardRef)(x);var v=G;