"use client" import type { Table } from "@tanstack/react-table" import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, } from "lucide-react" import { Button } from "@/shared/components/ui/button" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/shared/components/ui/select" import { useDataView } from "./data-view-context" const PAGE_SIZE_OPTIONS = [10, 20, 30, 50, 100] interface DataViewPaginationProps { table: Table } export function DataViewPagination({ table }: DataViewPaginationProps) { const { pagination } = useDataView() return (
Page {pagination.page} of {pagination.pageCount} {" "}({pagination.total} total)

Rows per page

) }