@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 921 B
JavaScript
import{a as n,b as i,c as s}from"./chunk-NMSZWCJF.mjs";import{vars as u}from"@teamsparta/stack-tokens";import{forwardRef as w}from"react";import{jsx as o}from"react/jsx-runtime";var k=({size:e})=>{switch(e){case 16:return o("path",{d:"M4 6.66406L8 10.6641L12 6.66406",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return o("path",{d:"M5 8.33203L10 13.332L15 8.33203",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return o("path",{d:"M6 10L12 16L18 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},f=w(function(l,h){var t=l,{size:r,color:c=u.neutral[90],style:L}=t,d=s(t,["size","color","style"]);return o("svg",i(n({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:n({color:c},L),ref:h},d),{children:o(k,{size:r})}))});export{f as a};