import React from "react";
type num = {
total: number,
page: number,
setPage: Function
}
export function PaginationLeft ({total, page, setPage} : num) {
const numPages = Math.ceil(total / 15);
// export function PaginationLeft ({ page, setPage} : num) {
// const numPages = 3
return (
{/* {Array(numPages)
.fill(1)
.map((_, i) => (
))} */}
);
};
export function PaginationRight ({total, page, setPage} : num) {
const numPages = Math.ceil(total / 15);
// export function PaginationRight ({ page, setPage} : num) {
// const numPages = 3;
return (
);
};