@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 2.37 kB
JavaScript
;var d=Object.defineProperty,m=Object.defineProperties,C=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?d(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,L=(o,r)=>{for(var t in r||(r={}))k.call(r,t)&&c(o,t,r[t]);if(s)for(var t of s(r))p.call(r,t)&&c(o,t,r[t]);return o},a=(o,r)=>m(o,y(r));var h=(o,r)=>{var t={};for(var n in o)k.call(o,n)&&r.indexOf(n)<0&&(t[n]=o[n]);if(o!=null&&s)for(var n of s(o))r.indexOf(n)<0&&p.call(o,n)&&(t[n]=o[n]);return t};var W=(o,r)=>{for(var t in r)d(o,t,{get:r[t],enumerable:!0})},g=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of M(r))!k.call(o,i)&&i!==t&&d(o,i,{get:()=>r[i],enumerable:!(n=C(r,i))||n.enumerable});return o};var j=o=>g(d({},"__esModule",{value:!0}),o);var I={};W(I,{ArrowUp:()=>A});module.exports=j(I);var l=require("@teamsparta/stack-tokens"),w=require("react");var e=require("react/jsx-runtime"),v=({size:o})=>{switch(o){case 16:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M4 7.33313L8 3.33313L12 7.33313",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M8 4L8 12.6667",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});case 20:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M5 9.16687L10 4.16687L15 9.16687",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M10 5L10 15.8333",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M6 11L12 5L18 11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M12 6L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},A=(0,w.forwardRef)(function(O,f){var u=O,{size:r,color:t=l.vars.neutral[90],style:n}=u,i=h(u,["size","color","style"]);return(0,e.jsx)("svg",a(L({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:L({color:t},n),ref:f},i),{children:(0,e.jsx)(v,{size:r})}))});0&&(module.exports={ArrowUp});