@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.89 kB
JavaScript
;var w=Object.defineProperty,C=Object.defineProperties,y=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var h=(o,r,n)=>r in o?w(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,i=(o,r)=>{for(var n in r||(r={}))c.call(r,n)&&h(o,n,r[n]);if(l)for(var n of l(r))s.call(r,n)&&h(o,n,r[n]);return o},p=(o,r)=>C(o,d(r));var a=(o,r)=>{var n={};for(var t in o)c.call(o,t)&&r.indexOf(t)<0&&(n[t]=o[t]);if(o!=null&&l)for(var t of l(o))r.indexOf(t)<0&&s.call(o,t)&&(n[t]=o[t]);return n};var A=(o,r)=>{for(var n in r)w(o,n,{get:r[n],enumerable:!0})},D=(o,r,n,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of g(r))!c.call(o,e)&&e!==n&&w(o,e,{get:()=>r[e],enumerable:!(t=y(r,e))||t.enumerable});return o};var I=o=>D(w({},"__esModule",{value:!0}),o);var Z={};A(Z,{ArrowChevronDown:()=>O});module.exports=I(Z);var u=require("@teamsparta/stack-tokens"),v=require("react");var L=require("react/jsx-runtime"),M=({size:o})=>{switch(o){case 16:return(0,L.jsx)("path",{d:"M13.0605 6.66406L8 11.7246L2.93945 6.66406L4 5.60352L8 9.60352L12 5.60352L13.0605 6.66406Z",fill:"currentColor"});case 20:return(0,L.jsx)("path",{d:"M16.2373 8.33203L10 14.5693L3.7627 8.33203L5 7.09473L10 12.0938L15 7.09473L16.2373 8.33203Z",fill:"currentColor"});case 24:return(0,L.jsx)("path",{d:"M19.4141 10L12 17.4141L4.58594 10L6 8.58594L12 14.5859L18 8.58594L19.4141 10Z",fill:"currentColor"})}},O=(0,v.forwardRef)(function(x,m){var f=x,{size:r,color:n=u.vars.neutral[90],style:t}=f,e=a(f,["size","color","style"]);return(0,L.jsx)("svg",p(i({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:i({color:n},t),ref:m},e),{children:(0,L.jsx)(M,{size:r})}))});0&&(module.exports={ArrowChevronDown});