@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 2.48 kB
JavaScript
;var c=Object.defineProperty,M=Object.defineProperties,Z=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var s=(t,r,l)=>r in t?c(t,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[r]=l,a=(t,r)=>{for(var l in r||(r={}))L.call(r,l)&&s(t,l,r[l]);if(i)for(var l of i(r))f.call(r,l)&&s(t,l,r[l]);return t},h=(t,r)=>M(t,d(r));var u=(t,r)=>{var l={};for(var o in t)L.call(t,o)&&r.indexOf(o)<0&&(l[o]=t[o]);if(t!=null&&i)for(var o of i(t))r.indexOf(o)<0&&f.call(t,o)&&(l[o]=t[o]);return l};var C=(t,r)=>{for(var l in r)c(t,l,{get:r[l],enumerable:!0})},g=(t,r,l,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of k(r))!L.call(t,n)&&n!==l&&c(t,n,{get:()=>r[n],enumerable:!(o=Z(r,n))||o.enumerable});return t};var v=t=>g(c({},"__esModule",{value:!0}),t);var A={};C(A,{ActionBookmark:()=>y});module.exports=v(A);var p=require("@teamsparta/stack-tokens"),w=require("react");var e=require("react/jsx-runtime"),B=({size:t,variant:r})=>{switch(t){case 16:switch(r){case"line":return(0,e.jsx)("path",{d:"M13.4175 1.25V14.6094L8.00049 11.8418L2.58447 14.6094V1.25H13.4175ZM4.08447 12.1582L7.65967 10.332L8.00146 10.1582L11.9175 12.1572V2.75H4.08447V12.1582Z",fill:"currentColor"});case"fill":return(0,e.jsx)("path",{d:"M13.4175 1.25V14.6094L8.00049 11.8418L2.58447 14.6094V1.25H13.4175Z",fill:"currentColor"})}case 20:switch(r){case"line":return(0,e.jsx)("path",{d:"M16.7085 1.625V18.6123L9.99951 14.7588L3.2915 18.6123V1.625H16.7085ZM5.0415 15.5889L9.99951 12.7412L10.436 12.9912L14.9585 15.5889V3.375H5.0415V15.5889Z",fill:"currentColor"});case"fill":return(0,e.jsx)("path",{d:"M16.7085 1.625V18.6123L9.99951 14.7588L3.2915 18.6123V1.625H16.7085Z",fill:"currentColor"})}case 24:switch(r){case"line":return(0,e.jsx)("path",{d:"M20 3V22.6182L12 18.6182L4 22.6182V3H20ZM6 19.3818L12 16.3818L18 19.3818V5H6V19.3818Z",fill:"currentColor"});case"fill":return(0,e.jsx)("path",{d:"M20 3V22.6182L12 18.6182L4 22.6182V3H20Z",fill:"currentColor"})}}},y=(0,w.forwardRef)(function(F,H){var V=F,{size:r,variant:l,color:o=p.vars.neutral[90],style:n}=V,m=u(V,["size","variant","color","style"]);return(0,e.jsx)("svg",h(a({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:a({color:o},n),ref:H},m),{children:(0,e.jsx)(B,{size:r,variant:l})}))});0&&(module.exports={ActionBookmark});