@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.92 kB
JavaScript
;var l=Object.defineProperty,f=Object.defineProperties,g=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var a=(o,r,t)=>r in o?l(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,c=(o,r)=>{for(var t in r||(r={}))h.call(r,t)&&a(o,t,r[t]);if(s)for(var t of s(r))d.call(r,t)&&a(o,t,r[t]);return o},u=(o,r)=>f(o,v(r));var k=(o,r)=>{var t={};for(var n in o)h.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&&d.call(o,n)&&(t[n]=o[n]);return t};var y=(o,r)=>{for(var t in r)l(o,t,{get:r[t],enumerable:!0})},S=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of C(r))!h.call(o,e)&&e!==t&&l(o,e,{get:()=>r[e],enumerable:!(n=g(r,e))||n.enumerable});return o};var R=o=>S(l({},"__esModule",{value:!0}),o);var M={};y(M,{ArrowChevronRightSmall:()=>I});module.exports=R(M);var p=require("@teamsparta/stack-tokens"),w=require("react");var i=require("react/jsx-runtime"),A=({size:o})=>{switch(o){case 16:return(0,i.jsx)("path",{d:"M6.66565 12L10.6656 8L6.66565 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return(0,i.jsx)("path",{d:"M8.33337 15L13.3334 10L8.33337 5",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return(0,i.jsx)("path",{d:"M10 18L16 12L10 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},I=(0,w.forwardRef)(function(O,m){var L=O,{size:r,color:t=p.vars.neutral[90],style:n}=L,e=k(L,["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:t},n),ref:m},e),{children:(0,i.jsx)(A,{size:r})}))});0&&(module.exports={ArrowChevronRightSmall});