import { Table } from "@tanstack/react-table"; import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; interface DataTablePaginationProps { table: Table; } export function DataTablePagination({ table, }: DataTablePaginationProps) { const paginationOptions = [10, 25, 50, 100]; return (
{/* {table.getFilteredSelectedRowModel().rows.length} of{" "} {table.getFilteredRowModel().rows.length} row(s) selected. */}

Reihen pro Seite

Seite {table.getState().pagination.pageIndex + 1} von{" "} {table.getPageCount()}
); }