UNPKG

iconoir-react

Version:

React library for Iconoir, the biggest open source icon library with tons of free icons.

2 lines (1 loc) 1.96 kB
"use client";var d=Object.create;var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var m=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,s=(o,r)=>{for(var t in r||(r={}))f.call(r,t)&&m(o,t,r[t]);if(i)for(var t of i(r))S.call(r,t)&&m(o,t,r[t]);return o};var a=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},V=(o,r,t,C)=>{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:!(C=u(r,e))||C.enumerable});return o};var g=(o,r,t)=>(t=o!=null?d(h(o)):{},V(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),x=o=>V(n({},"__esModule",{value:!0}),o);var v={};a(v,{default:()=>k});module.exports=x(v);var p=g(require("react")),c=require("react"),l=require("../IconoirContext.js");const G=(o,r)=>{const t=p.useContext(l.IconoirContext),C=s(s({},t),o);return p.createElement("svg",s({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},C),p.createElement("path",{d:"M13.9 18H10.1C9.76863 18 9.5 17.7314 9.5 17.4V15.1C9.5 14.7686 9.23137 14.5 8.9 14.5H6.6C6.26863 14.5 6 14.2314 6 13.9V10.1C6 9.76863 6.26863 9.5 6.6 9.5H8.9C9.23137 9.5 9.5 9.23137 9.5 8.9V6.6C9.5 6.26863 9.76863 6 10.1 6H13.9C14.2314 6 14.5 6.26863 14.5 6.6V8.9C14.5 9.23137 14.7686 9.5 15.1 9.5H17.4C17.7314 9.5 18 9.76863 18 10.1V13.9C18 14.2314 17.7314 14.5 17.4 14.5H15.1C14.7686 14.5 14.5 14.7686 14.5 15.1V17.4C14.5 17.7314 14.2314 18 13.9 18Z",stroke:"currentColor"}),p.createElement("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},H=(0,c.forwardRef)(G);var k=H;