@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 h}from"@teamsparta/stack-tokens";import{forwardRef as u}from"react";import{jsx as o}from"react/jsx-runtime";var k=({size:e})=>{switch(e){case 16:return o("path",{d:"M12 9.33325L8 5.33325L4 9.33325",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"});case 20:return o("path",{d:"M15 11.6666L10 6.66663L5 11.6666",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"});case 24:return o("path",{d:"M18 14L12 8L6 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}},f=u(function(l,d){var t=l,{size:r,color:c=h.neutral[90],style:p}=t,L=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},p),ref:d},L),{children:o(k,{size:r})}))});export{f as a};