UNPKG

iconoir-react

Version:

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

2 lines (1 loc) 2.95 kB
"use client";var c=Object.create;var t=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var m=(o,C,e)=>C in o?t(o,C,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[C]=e,l=(o,C)=>{for(var e in C||(C={}))p.call(C,e)&&m(o,e,C[e]);if(f)for(var e of f(C))v.call(C,e)&&m(o,e,C[e]);return o};var S=(o,C)=>{for(var e in C)t(o,e,{get:C[e],enumerable:!0})},s=(o,C,e,n)=>{if(C&&typeof C=="object"||typeof C=="function")for(let r of u(C))!p.call(o,r)&&r!==e&&t(o,r,{get:()=>C[r],enumerable:!(n=d(C,r))||n.enumerable});return o};var g=(o,C,e)=>(e=o!=null?c(w(o)):{},s(C||!o||!o.__esModule?t(e,"default",{value:o,enumerable:!0}):e,o)),x=o=>s(t({},"__esModule",{value:!0}),o);var Z={};S(Z,{default:()=>M});module.exports=x(Z);var V=g(require("react")),i=require("react"),H=require("../IconoirContext.js");const G=(o,C)=>{const e=V.useContext(H.IconoirContext),n=l(l({},e),o);return V.createElement("svg",l({width:"1.5em",height:"1.5em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:"currentColor",ref:C},n),V.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.25 9C1.25 5.27208 4.27208 2.25 8 2.25H16C19.7279 2.25 22.75 5.27208 22.75 9V15C22.75 18.7279 19.7279 21.75 16 21.75H8C4.27208 21.75 1.25 18.7279 1.25 15V9ZM17.33 8.90446C17.0799 8.76441 16.7422 8.75008 16.3571 8.75008H14.25V11.2501H16.3571L16.3782 11.2501C16.7545 11.2495 17.0845 11.2332 17.33 11.0957C17.4876 11.0074 17.75 10.7939 17.75 10.0001C17.75 9.20624 17.4876 8.99272 17.33 8.90446ZM18.582 12.0001C19.0049 11.5491 19.25 10.8884 19.25 10.0001C19.25 8.79392 18.7981 8.00744 18.0629 7.5957C17.4429 7.24849 16.7382 7.24953 16.3936 7.25004L16.3571 7.25008H13.5C13.0858 7.25008 12.75 7.58586 12.75 8.00008V16.0001C12.75 16.4143 13.0858 16.7501 13.5 16.7501H16.3571L16.3936 16.7501C16.7382 16.7506 17.4429 16.7517 18.0629 16.4045C18.7981 15.9927 19.25 15.2062 19.25 14.0001C19.25 13.1118 19.0049 12.4511 18.582 12.0001ZM16.3788 12.7501L16.3571 12.7501H14.25V15.2501H16.3571C16.7422 15.2501 17.0799 15.2357 17.33 15.0957C17.4876 15.0074 17.75 14.7939 17.75 14.0001C17.75 13.2062 17.4876 12.9927 17.33 12.9045C17.0846 12.767 16.7549 12.7507 16.3788 12.7501ZM8.35714 8.75008C8.74222 8.75008 9.07989 8.76441 9.32998 8.90446C9.48758 8.99272 9.75 9.20624 9.75 10.0001V14.0001C9.75 14.7939 9.48758 15.0074 9.32998 15.0957C9.07989 15.2357 8.74222 15.2501 8.35714 15.2501H6.25V8.75008H8.35714ZM11.25 10.0001C11.25 8.79392 10.7981 8.00744 10.0629 7.5957C9.44287 7.24849 8.73819 7.24953 8.39361 7.25004L8.35714 7.25008H5.5C5.08579 7.25008 4.75 7.58586 4.75 8.00008V16.0001C4.75 16.4143 5.08579 16.7501 5.5 16.7501H8.35714L8.39361 16.7501C8.73819 16.7506 9.44287 16.7517 10.0629 16.4045C10.7981 15.9927 11.25 15.2062 11.25 14.0001V10.0001Z",fill:"currentColor"}))},L=(0,i.forwardRef)(G);var M=L;