UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 1.92 kB
"use strict";var l=Object.defineProperty,m=Object.defineProperties,v=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var d=(o,r,e)=>r in o?l(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,c=(o,r)=>{for(var e in r||(r={}))L.call(r,e)&&d(o,e,r[e]);if(s)for(var e of s(r))h.call(r,e)&&d(o,e,r[e]);return o},u=(o,r)=>m(o,C(r));var k=(o,r)=>{var e={};for(var t in o)L.call(o,t)&&r.indexOf(t)<0&&(e[t]=o[t]);if(o!=null&&s)for(var t of s(o))r.indexOf(t)<0&&h.call(o,t)&&(e[t]=o[t]);return e};var g=(o,r)=>{for(var e in r)l(o,e,{get:r[e],enumerable:!0})},S=(o,r,e,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of y(r))!L.call(o,n)&&n!==e&&l(o,n,{get:()=>r[n],enumerable:!(t=v(r,n))||t.enumerable});return o};var A=o=>S(l({},"__esModule",{value:!0}),o);var O={};g(O,{ArrowChevronLeftSmall:()=>M});module.exports=A(O);var p=require("@teamsparta/stack-tokens"),f=require("react");var i=require("react/jsx-runtime"),I=({size:o})=>{switch(o){case 16:return(0,i.jsx)("path",{d:"M9.33447 4L5.33447 8L9.33447 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return(0,i.jsx)("path",{d:"M11.6666 5L6.66663 10L11.6666 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return(0,i.jsx)("path",{d:"M14 6L8 12L14 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},M=(0,f.forwardRef)(function(W,w){var a=W,{size:r,color:e=p.vars.neutral[90],style:t}=a,n=k(a,["size","color","style"]);return(0,i.jsx)("svg",u(c({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:c({color:e},t),ref:w},n),{children:(0,i.jsx)(I,{size:r})}))});0&&(module.exports={ArrowChevronLeftSmall});