iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.31 kB
JavaScript
"use client";var p=Object.defineProperty;var l=Object.getOwnPropertySymbols;var s=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var f=(r,o,e)=>o in r?p(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e,t=(r,o)=>{for(var e in o||(o={}))s.call(o,e)&&f(r,e,o[e]);if(l)for(var e of l(o))m.call(o,e)&&f(r,e,o[e]);return r};import*as n from"react";import{forwardRef as C}from"react";import{IconoirContext as c}from"../IconoirContext.mjs";const d=(r,o)=>{const e=n.useContext(c),i=t(t({},e),r);return n.createElement("svg",t({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},i),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.25 5C15.25 4.58579 15.5858 4.25 16 4.25H22C22.4142 4.25 22.75 4.58579 22.75 5C22.75 5.41421 22.4142 5.75 22 5.75H16C15.5858 5.75 15.25 5.41421 15.25 5Z",fill:"currentColor"}),n.createElement("path",{d:"M7.94474 5.18374C9.03866 3.95307 10.9615 3.95308 12.0555 5.18374L17.3795 11.1733C18.3057 12.2152 18.3058 13.7855 17.3796 14.8273L12.0555 20.8169C10.9615 22.0476 9.03866 22.0477 7.94474 20.8169L2.62067 14.8273C1.69451 13.7855 1.69449 12.2152 2.62064 11.1734L7.94474 5.18374Z",fill:"currentColor"}))},u=C(d);var g=u;export{g as default};