@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.9 kB
JavaScript
;var f=Object.defineProperty,C=Object.defineProperties,y=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var h=(o,r,t)=>r in o?f(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,i=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&h(o,t,r[t]);if(L)for(var t of L(r))w.call(r,t)&&h(o,t,r[t]);return o},m=(o,r)=>C(o,d(r));var s=(o,r)=>{var t={};for(var n in o)c.call(o,n)&&r.indexOf(n)<0&&(t[n]=o[n]);if(o!=null&&L)for(var n of L(o))r.indexOf(n)<0&&w.call(o,n)&&(t[n]=o[n]);return t};var S=(o,r)=>{for(var t in r)f(o,t,{get:r[t],enumerable:!0})},A=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of g(r))!c.call(o,e)&&e!==t&&f(o,e,{get:()=>r[e],enumerable:!(n=y(r,e))||n.enumerable});return o};var I=o=>A(f({},"__esModule",{value:!0}),o);var Z={};S(Z,{ArrowChevronLeftSmall:()=>O});module.exports=I(Z);var p=require("@teamsparta/stack-tokens"),u=require("react");var l=require("react/jsx-runtime"),M=({size:o})=>{switch(o){case 16:return(0,l.jsx)("path",{d:"M9.33447 13.0605L4.27393 8L9.33447 2.93945L10.395 4L6.39502 8L10.395 12L9.33447 13.0605Z",fill:"currentColor"});case 20:return(0,l.jsx)("path",{d:"M11.6665 16.2373L5.4292 10L11.6665 3.7627L12.9038 5L7.90479 10L12.9038 15L11.6665 16.2373Z",fill:"currentColor"});case 24:return(0,l.jsx)("path",{d:"M14 19.4141L6.58594 12L14 4.58594L15.4141 6L9.41406 12L15.4141 18L14 19.4141Z",fill:"currentColor"})}},O=(0,u.forwardRef)(function(x,v){var a=x,{size:r,color:t=p.vars.neutral[90],style:n}=a,e=s(a,["size","color","style"]);return(0,l.jsx)("svg",m(i({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i({color:t},n),ref:v},e),{children:(0,l.jsx)(M,{size:r})}))});0&&(module.exports={ArrowChevronLeftSmall});