iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.72 kB
JavaScript
"use client";var d=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,C=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var f=(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={}))l.call(r,t)&&f(o,t,r[t]);if(C)for(var t of C(r))S.call(r,t)&&f(o,t,r[t]);return o};var g=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},i=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of u(r))!l.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=h(r,e))||p.enumerable});return o};var x=(o,r,t)=>(t=o!=null?d(w(o)):{},i(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),G=o=>i(n({},"__esModule",{value:!0}),o);var M={};g(M,{default:()=>k});module.exports=G(M);var s=x(require("react")),c=require("react"),V=require("../IconoirContext.js");const a=(o,r)=>{const t=s.useContext(V.IconoirContext),p=m(m({},t),o);return s.createElement("svg",m({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},p),s.createElement("path",{d:"M14 18V20C14 21.1046 13.1046 22 12 22V22C10.8954 22 10 21.1046 10 20V18",stroke:"currentColor"}),s.createElement("path",{d:"M5 12H19",stroke:"currentColor"}),s.createElement("path",{d:"M7.00084 17.9994C5.89594 17.9996 5 17.1041 5 15.9992L5 8.99975C5 5.13375 8.13401 1.99975 12 1.99975C15.866 1.99975 19 5.13375 19 8.99975V15.9997C19 17.1043 18.1046 17.9997 17 17.9997C13.6669 17.9994 10.3339 17.9986 7.00084 17.9994Z",stroke:"currentColor"}))},v=(0,c.forwardRef)(a);var k=v;