@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.94 kB
JavaScript
;var h=Object.defineProperty,g=Object.defineProperties,v=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var u=(o,r,t)=>r in o?h(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,L=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&u(o,t,r[t]);if(s)for(var t of s(r))k.call(r,t)&&u(o,t,r[t]);return o},l=(o,r)=>g(o,m(r));var p=(o,r)=>{var t={};for(var n in o)c.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&&k.call(o,n)&&(t[n]=o[n]);return t};var y=(o,r)=>{for(var t in r)h(o,t,{get:r[t],enumerable:!0})},R=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of C(r))!c.call(o,e)&&e!==t&&h(o,e,{get:()=>r[e],enumerable:!(n=v(r,e))||n.enumerable});return o};var A=o=>R(h({},"__esModule",{value:!0}),o);var O={};y(O,{ArrowChevronRight:()=>M});module.exports=A(O);var a=require("@teamsparta/stack-tokens"),w=require("react");var i=require("react/jsx-runtime"),I=({size:o})=>{switch(o){case 16:return(0,i.jsx)("path",{d:"M6.33337 3.33337L11 8.00004L6.33337 12.6667",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return(0,i.jsx)("path",{d:"M7.91669 4.16663L13.75 9.99996L7.91669 15.8333",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return(0,i.jsx)("path",{d:"M9.5 5L16.5 12L9.5 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},M=(0,w.forwardRef)(function(W,f){var d=W,{size:r,color:t=a.vars.neutral[90],style:n}=d,e=p(d,["size","color","style"]);return(0,i.jsx)("svg",l(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},e),{children:(0,i.jsx)(I,{size:r})}))});0&&(module.exports={ArrowChevronRight});