@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 1.14 kB
JavaScript
import{a as t,b as a,c}from"./chunk-NMSZWCJF.mjs";import{vars as h}from"@teamsparta/stack-tokens";import{forwardRef as u}from"react";import{Fragment as e,jsx as r,jsxs as n}from"react/jsx-runtime";var L=({size:s})=>{switch(s){case 16:return n(e,{children:[r("path",{d:"M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),r("path",{d:"M12 4L4 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});case 20:return n(e,{children:[r("path",{d:"M5 5L15 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round"}),r("path",{d:"M15 5L5 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round"})]});case 24:return n(e,{children:[r("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),r("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}},v=u(function(C,p){var i=C,{size:o,color:d=h.neutral[90],style:k}=i,l=c(i,["size","color","style"]);return r("svg",a(t({width:o,height:o,viewBox:`0 0 ${o} ${o}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:t({color:d},k),ref:p},l),{children:r(L,{size:o})}))});export{v as a};