import type { Table } from "@tanstack/react-table"; import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react"; import { Button } from "../button"; interface DataTablePaginationProps { table: Table; } export function DataTablePagination({ table }: DataTablePaginationProps) { return (
{table.getFilteredSelectedRowModel().rows.length} of {table.getFilteredRowModel().rows.length} row(s) selected.
Page {table.getState().pagination.pageIndex} of {table.getPageCount() - 1}
); }