@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 2.3 kB
JavaScript
;var s=Object.defineProperty,w=Object.defineProperties,m=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var h=(o,r,t)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[r]=t,l=(o,r)=>{for(var t in r||(r={}))k.call(r,t)&&h(o,t,r[t]);if(i)for(var t of i(r))u.call(r,t)&&h(o,t,r[t]);return o},a=(o,r)=>w(o,C(r));var p=(o,r)=>{var t={};for(var n in o)k.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&&u.call(o,n)&&(t[n]=o[n]);return t};var g=(o,r)=>{for(var t in r)s(o,t,{get:r[t],enumerable:!0})},v=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of W(r))!k.call(o,c)&&c!==t&&s(o,c,{get:()=>r[c],enumerable:!(n=m(r,c))||n.enumerable});return o};var x=o=>v(s({},"__esModule",{value:!0}),o);var I={};g(I,{ActionSearch:()=>A});module.exports=x(I);var L=require("@teamsparta/stack-tokens"),y=require("react");var e=require("react/jsx-runtime"),S=({size:o})=>{switch(o){case 16:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("circle",{cx:"7.33333",cy:"7.33333",r:"4.58333",stroke:"currentColor",strokeWidth:"1.5"}),(0,e.jsx)("path",{d:"M10.6667 10.6666L14.001 14.0009",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});case 20:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("circle",{cx:"9.16667",cy:"9.16667",r:"5.79167",stroke:"currentColor",strokeWidth:"1.75"}),(0,e.jsx)("path",{d:"M13.3333 13.3334L17.5011 17.5012",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("circle",{cx:"11",cy:"11",r:"7",stroke:"currentColor",strokeWidth:"2"}),(0,e.jsx)("path",{d:"M16 16L21.0014 21.0014",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},A=(0,y.forwardRef)(function(M,f){var d=M,{size:r,color:t=L.vars.neutral[90],style:n}=d,c=p(d,["size","color","style"]);return(0,e.jsx)("svg",a(l({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:l({color:t},n),ref:f},c),{children:(0,e.jsx)(S,{size:r})}))});0&&(module.exports={ActionSearch});