UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 2.09 kB
"use strict";var i=Object.defineProperty,w=Object.defineProperties,m=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var V=(t,r,n)=>r in t?i(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,H=(t,r)=>{for(var n in r||(r={}))a.call(r,n)&&V(t,n,r[n]);if(c)for(var n of c(r))p.call(r,n)&&V(t,n,r[n]);return t},d=(t,r)=>w(t,C(r));var h=(t,r)=>{var n={};for(var l in t)a.call(t,l)&&r.indexOf(l)<0&&(n[l]=t[l]);if(t!=null&&c)for(var l of c(t))r.indexOf(l)<0&&p.call(t,l)&&(n[l]=t[l]);return n};var M=(t,r)=>{for(var n in r)i(t,n,{get:r[n],enumerable:!0})},Z=(t,r,n,l)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of y(r))!a.call(t,e)&&e!==n&&i(t,e,{get:()=>r[e],enumerable:!(l=m(r,e))||l.enumerable});return t};var v=t=>Z(i({},"__esModule",{value:!0}),t);var I={};M(I,{ActionDragHandle:()=>D});module.exports=v(I);var u=require("@teamsparta/stack-tokens"),s=require("react");var o=require("react/jsx-runtime"),A=({size:t})=>{switch(t){case 16:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("path",{d:"M13.7495 5.375V6.875H2.24951V5.375H13.7495Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M13.7495 9.125V10.625H2.24951V9.125H13.7495Z",fill:"currentColor"})]});case 20:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("path",{d:"M17 6.875V8.625H3V6.875H17Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M17 11.375V13.125H3V11.375H17Z",fill:"currentColor"})]});case 24:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("path",{d:"M20.5 8.25V10.25H3.5V8.25H20.5Z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M20.5 13.75V15.75H3.5V13.75H20.5Z",fill:"currentColor"})]})}},D=(0,s.forwardRef)(function(L,g){var f=L,{size:r,color:n=u.vars.neutral[90],style:l}=f,e=h(f,["size","color","style"]);return(0,o.jsx)("svg",d(H({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:H({color:n},l),ref:g},e),{children:(0,o.jsx)(A,{size:r})}))});0&&(module.exports={ActionDragHandle});