UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 2.38 kB
"use strict";var d=Object.defineProperty,g=Object.defineProperties,m=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,h=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))h.call(r,t)&&c(o,t,r[t]);return o},p=(o,r)=>g(o,C(r));var a=(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&&h.call(o,n)&&(t[n]=o[n]);return t};var M=(o,r)=>{for(var t in r)d(o,t,{get:r[t],enumerable:!0})},W=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of y(r))!k.call(o,i)&&i!==t&&d(o,i,{get:()=>r[i],enumerable:!(n=m(r,i))||n.enumerable});return o};var j=o=>W(d({},"__esModule",{value:!0}),o);var A={};M(A,{ArrowRight:()=>R});module.exports=j(A);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:"M8.66675 4L12.6667 8L8.66675 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M12 8L3.33333 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});case 20:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M10.8333 5L15.8333 10L10.8333 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M15 10L4.16667 10",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M13 18L19 12L13 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e.jsx)("path",{d:"M18 12L5 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},R=(0,w.forwardRef)(function(I,f){var u=I,{size:r,color:t=l.vars.neutral[90],style:n}=u,i=a(u,["size","color","style"]);return(0,e.jsx)("svg",p(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={ArrowRight});