UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 1.91 kB
"use strict";var c=Object.defineProperty,v=Object.defineProperties,m=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var u=(o,r,n)=>r in o?c(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,d=(o,r)=>{for(var n in r||(r={}))L.call(r,n)&&u(o,n,r[n]);if(s)for(var n of s(r))w.call(r,n)&&u(o,n,r[n]);return o},k=(o,r)=>v(o,C(r));var l=(o,r)=>{var n={};for(var e in o)L.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&&w.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))!L.call(o,t)&&t!==n&&c(o,t,{get:()=>r[t],enumerable:!(e=m(r,t))||e.enumerable});return o};var D=o=>A(c({},"__esModule",{value:!0}),o);var O={};g(O,{ArrowChevronDown:()=>M});module.exports=D(O);var p=require("@teamsparta/stack-tokens"),a=require("react");var i=require("react/jsx-runtime"),I=({size:o})=>{switch(o){case 16:return(0,i.jsx)("path",{d:"M4 6.66406L8 10.6641L12 6.66406",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return(0,i.jsx)("path",{d:"M5 8.33203L10 13.332L15 8.33203",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return(0,i.jsx)("path",{d:"M6 10L12 16L18 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},M=(0,a.forwardRef)(function(W,f){var h=W,{size:r,color:n=p.vars.neutral[90],style:e}=h,t=l(h,["size","color","style"]);return(0,i.jsx)("svg",k(d({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:d({color:n},e),ref:f},t),{children:(0,i.jsx)(I,{size:r})}))});0&&(module.exports={ArrowChevronDown});