import{j as e,b as r}from"./BulkImageUpload-DGPbX05r.js";const t=({active:a,label:s,url:n})=>e.jsx("li",{className:`page-item ${a?"active":""}`,children:e.jsx(r,{className:"page-link",href:n,children:e.jsx("span",{dangerouslySetInnerHTML:{__html:s}})})}),l=({label:a})=>e.jsx("li",{className:"page-item disabled",children:e.jsx("div",{className:"page-link ",dangerouslySetInnerHTML:{__html:a}})}),m=({links:a=[]})=>a.length===3?null:e.jsx("nav",{"aria-label":"Page navigation example",children:e.jsx("ul",{className:"pagination",children:a.map(({active:s,label:n,url:i})=>i===null?e.jsx(l,{label:n},n):e.jsx(t,{className:"page-link",label:n,active:s,url:i},n))})});export{m as P};
