@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.9 kB
JavaScript
;var c=Object.defineProperty,v=Object.defineProperties,m=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var h=(o,r,n)=>r in o?c(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,L=(o,r)=>{for(var n in r||(r={}))p.call(r,n)&&h(o,n,r[n]);if(s)for(var n of s(r))u.call(r,n)&&h(o,n,r[n]);return o},k=(o,r)=>v(o,C(r));var l=(o,r)=>{var n={};for(var e in o)p.call(o,e)&&r.indexOf(e)<0&&(n[e]=o[e]);if(o!=null&&s)for(var e of s(o))r.indexOf(e)<0&&u.call(o,e)&&(n[e]=o[e]);return n};var g=(o,r)=>{for(var n in r)c(o,n,{get:r[n],enumerable:!0})},A=(o,r,n,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of y(r))!p.call(o,t)&&t!==n&&c(o,t,{get:()=>r[t],enumerable:!(e=m(r,t))||e.enumerable});return o};var I=o=>A(c({},"__esModule",{value:!0}),o);var U={};g(U,{ArrowChevronUp:()=>O});module.exports=I(U);var a=require("@teamsparta/stack-tokens"),w=require("react");var i=require("react/jsx-runtime"),M=({size:o})=>{switch(o){case 16:return(0,i.jsx)("path",{d:"M12 9.33325L8 5.33325L4 9.33325",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return(0,i.jsx)("path",{d:"M15 11.6666L10 6.66663L5 11.6666",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return(0,i.jsx)("path",{d:"M18 14L12 8L6 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},O=(0,w.forwardRef)(function(W,f){var d=W,{size:r,color:n=a.vars.neutral[90],style:e}=d,t=l(d,["size","color","style"]);return(0,i.jsx)("svg",k(L({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:L({color:n},e),ref:f},t),{children:(0,i.jsx)(M,{size:r})}))});0&&(module.exports={ArrowChevronUp});