import React from "react"; type num = { total: number, page: number, setPage: Function } export default function Pagination ({total, page, setPage} : num) { const numPages = Math.ceil(total / 15); return (