UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 1.47 kB
"use client";var d=Object.create;var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,S=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,g=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={}))l.call(r,t)&&i(o,t,r[t]);if(f)for(var t of f(r))g.call(r,t)&&i(o,t,r[t]);return o};var x=(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))!l.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(s=h(r,e))||s.enumerable});return o};var G=(o,r,t)=>(t=o!=null?d(S(o)):{},c(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),V=o=>c(n({},"__esModule",{value:!0}),o);var E={};x(E,{default:()=>k});module.exports=V(E);var p=G(require("react")),C=require("react"),w=require("../IconoirContext.js");const a=(o,r)=>{const t=p.useContext(w.IconoirContext),s=m(m({},t),o);return p.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},s),p.createElement("path",{d:"M4.5 16.5L18.5 10",stroke:"currentColor"}),p.createElement("path",{d:"M20 14C20 9.58172 12 2 12 2C12 2 4 9.58172 4 14C4 18.4183 7.58172 22 12 22C16.4183 22 20 18.4183 20 14Z",stroke:"currentColor"}))},v=(0,C.forwardRef)(a);var k=v;