@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 3.85 kB
JavaScript
import{a as o,b as c,c as C}from"./chunk-NMSZWCJF.mjs";import{vars as a}from"@teamsparta/stack-tokens";import{forwardRef as h}from"react";import{Fragment as t,jsx as e,jsxs as n}from"react/jsx-runtime";var p=({size:i,variant:r})=>{switch(i){case 16:switch(r){case"line":return n(t,{children:[e("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor",strokeWidth:"1.5"}),e("path",{d:"M6 6L10 10",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M10 6L6 10",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]});case"fill":return e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.25 8C1.25 4.27208 4.27208 1.25 8 1.25C11.7279 1.25 14.75 4.27208 14.75 8C14.75 11.7279 11.7279 14.75 8 14.75C4.27208 14.75 1.25 11.7279 1.25 8ZM10.3536 5.64645C10.5488 5.84171 10.5488 6.15829 10.3536 6.35355L8.70711 8L10.3536 9.64645C10.5488 9.84171 10.5488 10.1583 10.3536 10.3536C10.1583 10.5488 9.84171 10.5488 9.64645 10.3536L8 8.70711L6.35355 10.3536C6.15829 10.5488 5.84171 10.5488 5.64645 10.3536C5.45118 10.1583 5.45118 9.84171 5.64645 9.64645L7.29289 8L5.64645 6.35355C5.45118 6.15829 5.45118 5.84171 5.64645 5.64645C5.84171 5.45118 6.15829 5.45118 6.35355 5.64645L8 7.29289L9.64645 5.64645C9.84171 5.45118 10.1583 5.45118 10.3536 5.64645Z",fill:"currentColor"})}case 20:switch(r){case"line":return n(t,{children:[e("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.75"}),e("path",{d:"M7.5 7.5L12.5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12.5 7.5L7.5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});case"fill":return e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.625 10C1.625 5.37462 5.37462 1.625 10 1.625C14.6254 1.625 18.375 5.37462 18.375 10C18.375 14.6254 14.6254 18.375 10 18.375C5.37462 18.375 1.625 14.6254 1.625 10ZM12.9419 7.05806C13.186 7.30214 13.186 7.69786 12.9419 7.94194L10.8839 10L12.9419 12.0581C13.186 12.3021 13.186 12.6979 12.9419 12.9419C12.6979 13.186 12.3021 13.186 12.0581 12.9419L10 10.8839L7.94194 12.9419C7.69786 13.186 7.30214 13.186 7.05806 12.9419C6.81398 12.6979 6.81398 12.3021 7.05806 12.0581L9.11612 10L7.05806 7.94194C6.81398 7.69786 6.81398 7.30214 7.05806 7.05806C7.30214 6.81398 7.69786 6.81398 7.94194 7.05806L10 9.11612L12.0581 7.05806C12.3021 6.81398 12.6979 6.81398 12.9419 7.05806Z",fill:"currentColor"})}case 24:switch(r){case"line":return n(t,{children:[e("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M9 9L15 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M15 9L9 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})]});case"fill":return e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM15.5303 8.46967C15.8232 8.76256 15.8232 9.23744 15.5303 9.53033L13.0607 12L15.5303 14.4697C15.8232 14.7626 15.8232 15.2374 15.5303 15.5303C15.2374 15.8232 14.7626 15.8232 14.4697 15.5303L12 13.0607L9.53033 15.5303C9.23744 15.8232 8.76256 15.8232 8.46967 15.5303C8.17678 15.2374 8.17678 14.7626 8.46967 14.4697L10.9393 12L8.46967 9.53033C8.17678 9.23744 8.17678 8.76256 8.46967 8.46967C8.76256 8.17678 9.23744 8.17678 9.53033 8.46967L12 10.9393L14.4697 8.46967C14.7626 8.17678 15.2374 8.17678 15.5303 8.46967Z",fill:"currentColor"})}}},w=h(function(f,k){var l=f,{size:r,variant:s,color:L=a.neutral[90],style:d}=l,u=C(l,["size","variant","color","style"]);return e("svg",c(o({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o({color:L},d),ref:k},u),{children:e(p,{size:r,variant:s})}))});export{w as a};