iconoir-react
Version:
React library for Iconoir, the biggest open source icon library with tons of free icons.
2 lines (1 loc) • 1.71 kB
JavaScript
"use client";var C=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,k=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?n(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))d.call(r,t)&&c(o,t,r[t]);if(m)for(var t of m(r))w.call(r,t)&&c(o,t,r[t]);return o};var L=(o,r)=>{for(var t in r)n(o,t,{get:r[t],enumerable:!0})},f=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of h(r))!d.call(o,e)&&e!==t&&n(o,e,{get:()=>r[e],enumerable:!(p=a(r,e))||p.enumerable});return o};var S=(o,r,t)=>(t=o!=null?C(k(o)):{},f(r||!o||!o.__esModule?n(t,"default",{value:o,enumerable:!0}):t,o)),V=o=>f(n({},"__esModule",{value:!0}),o);var v={};L(v,{default:()=>G});module.exports=V(v);var s=S(require("react")),l=require("react"),u=require("../IconoirContext.js");const g=(o,r)=>{const t=s.useContext(u.IconoirContext),p=i(i({},t),o);return s.createElement("svg",i({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},p),s.createElement("path",{d:"M20.0429 21H3.95705C2.41902 21 1.45658 19.3364 2.22324 18.0031L10.2662 4.01533C11.0352 2.67792 12.9648 2.67791 13.7338 4.01532L21.7768 18.0031C22.5434 19.3364 21.581 21 20.0429 21Z",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M12 9V13",stroke:"currentColor",strokeLinecap:"round"}),s.createElement("path",{d:"M12 17.01L12.01 16.9989",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},x=(0,l.forwardRef)(g);var G=x;