@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 2.37 kB
JavaScript
;var L=Object.defineProperty,m=Object.defineProperties,C=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var c=(o,r,t)=>r in o?L(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,k=(o,r)=>{for(var t in r||(r={}))d.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)d.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)L(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))!d.call(o,i)&&i!==t&&L(o,i,{get:()=>r[i],enumerable:!(n=C(r,i))||n.enumerable});return o};var j=o=>g(L({},"__esModule",{value:!0}),o);var I={};W(I,{ArrowLeft:()=>A});module.exports=j(I);var l=require("@teamsparta/stack-tokens"),f=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:"M7.33325 4L3.33325 8L7.33325 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M4 8L12.6667 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});case 20:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M9.16675 5L4.16675 10L9.16675 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M5 10L15.8333 10",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M11 6L5 12L11 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M6 12L19 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},A=(0,f.forwardRef)(function(O,w){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(k({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:k({color:t},n),ref:w},i),{children:(0,e.jsx)(v,{size:r})}))});0&&(module.exports={ArrowLeft});