iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.56 kB
JavaScript
"use client";var u=Object.create;var n=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,h=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,p=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&c(o,t,r[t]);if(i)for(var t of i(r))h.call(r,t)&&c(o,t,r[t]);return o};var S=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!f.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=V(r,e))||s.enumerable});return o};var g=(o,r,t)=>(t=o!=null?u(a(o)):{},l(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>l(n({},"__esModule",{value:!0}),o);var E={};S(E,{default:()=>v});module.exports=x(E);var m=g(require("react")),C=require("react"),d=require("../IconoirContext.js");const G=(o,r)=>{const t=m.useContext(d.IconoirContext),s=p(p({},t),o);return m.createElement("svg",p({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},s),m.createElement("path",{d:"M20 10V14C20 18.4183 16.4183 22 12 22C7.58172 22 4 18.4183 4 14V9C4 5.13401 7.13401 2 11 2H12C16.4183 2 20 5.58172 20 10Z",stroke:"currentColor",strokeLinecap:"round"}),m.createElement("path",{d:"M12 2V8.4C12 8.73137 11.7314 9 11.4 9H4",stroke:"currentColor",strokeLinecap:"round"}))},k=(0,C.forwardRef)(G);var v=k;