UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 2.19 kB
"use strict";var a=Object.defineProperty,g=Object.defineProperties,v=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var l=(o,r,t)=>r in o?a(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,d=(o,r)=>{for(var t in r||(r={}))c.call(r,t)&&l(o,t,r[t]);if(i)for(var t of i(r))p.call(r,t)&&l(o,t,r[t]);return o},h=(o,r)=>g(o,w(r));var u=(o,r)=>{var t={};for(var n in o)c.call(o,n)&&r.indexOf(n)<0&&(t[n]=o[n]);if(o!=null&&i)for(var n of i(o))r.indexOf(n)<0&&p.call(o,n)&&(t[n]=o[n]);return t};var y=(o,r)=>{for(var t in r)a(o,t,{get:r[t],enumerable:!0})},M=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of m(r))!c.call(o,s)&&s!==t&&a(o,s,{get:()=>r[s],enumerable:!(n=v(r,s))||n.enumerable});return o};var W=o=>M(a({},"__esModule",{value:!0}),o);var O={};y(O,{NavigationClose:()=>N});module.exports=W(O);var L=require("@teamsparta/stack-tokens"),C=require("react");var e=require("react/jsx-runtime"),I=({size:o})=>{switch(o){case 16:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,e.jsx)("path",{d:"M12 4L4 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});case 20:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M5 5L15 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round"}),(0,e.jsx)("path",{d:"M15 5L5 15",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round"})]});case 24:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,e.jsx)("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}},N=(0,C.forwardRef)(function(x,f){var k=x,{size:r,color:t=L.vars.neutral[90],style:n}=k,s=u(k,["size","color","style"]);return(0,e.jsx)("svg",h(d({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:d({color:t},n),ref:f},s),{children:(0,e.jsx)(I,{size:r})}))});0&&(module.exports={NavigationClose});