iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.43 kB
JavaScript
"use client";var l=Object.defineProperty;var i=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(t,o,r)=>o in t?l(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r,n=(t,o)=>{for(var r in o||(o={}))f.call(o,r)&&s(t,r,o[r]);if(i)for(var r of i(o))d.call(o,r)&&s(t,r,o[r]);return t};import*as e from"react";import{forwardRef as h}from"react";import{IconoirContext as m}from"../IconoirContext.mjs";const c=(t,o)=>{const r=e.useContext(m),p=n(n({},r),t);return e.createElement("svg",n({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:o},p),e.createElement("g",{clipPath:"url(#clip0_4039_354)"},e.createElement("path",{d:"M16 11H10C9 11 8 12 8 13V14M16 11L14 9M16 11L14 13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.42426 11.5757L11.5757 1.42426C11.8101 1.18995 12.1899 1.18995 12.4243 1.42426L22.5757 11.5757C22.8101 11.8101 22.81 12.1899 22.5757 12.4243L12.4243 22.5757C12.1899 22.8101 11.8101 22.81 11.5757 22.5757L1.42426 12.4243C1.18995 12.1899 1.18995 11.8101 1.42426 11.5757Z",stroke:"currentColor",strokeLinejoin:"round"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_4039_354"},e.createElement("rect",{width:24,height:24,fill:"white"}))))},u=h(c);var S=u;export{S as default};