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