@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.9 kB
JavaScript
;var c=Object.defineProperty,m=Object.defineProperties,C=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,I=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var h=(r,o,n)=>o in r?c(r,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[o]=n,L=(r,o)=>{for(var n in o||(o={}))k.call(o,n)&&h(r,n,o[n]);if(s)for(var n of s(o))u.call(o,n)&&h(r,n,o[n]);return r},l=(r,o)=>m(r,y(o));var p=(r,o)=>{var n={};for(var e in r)k.call(r,e)&&o.indexOf(e)<0&&(n[e]=r[e]);if(r!=null&&s)for(var e of s(r))o.indexOf(e)<0&&u.call(r,e)&&(n[e]=r[e]);return n};var g=(r,o)=>{for(var n in o)c(r,n,{get:o[n],enumerable:!0})},v=(r,o,n,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of I(o))!k.call(r,t)&&t!==n&&c(r,t,{get:()=>o[t],enumerable:!(e=C(o,t))||e.enumerable});return r};var M=r=>v(c({},"__esModule",{value:!0}),r);var j={};g(j,{InfoCheck:()=>W});module.exports=M(j);var a=require("@teamsparta/stack-tokens"),f=require("react");var i=require("react/jsx-runtime"),O=({size:r})=>{switch(r){case 16:return(0,i.jsx)("path",{d:"M2.66553 8L5.99886 11.3333L13.3322 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return(0,i.jsx)("path",{d:"M3.33337 10L7.50004 14.1667L16.6667 5",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return(0,i.jsx)("path",{d:"M4 12L9 17L20 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},W=(0,f.forwardRef)(function(x,w){var d=x,{size:o,color:n=a.vars.neutral[90],style:e}=d,t=p(d,["size","color","style"]);return(0,i.jsx)("svg",l(L({width:o,height:o,viewBox:`0 0 ${o} ${o}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:L({color:n},e),ref:w},t),{children:(0,i.jsx)(O,{size:o})}))});0&&(module.exports={InfoCheck});