import { ChevronLeftIcon, ChevronRightIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon } from "@radix-ui/react-icons" import type { Table } from "@tanstack/react-table" import { Button } from "./ui/button" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./ui/select" interface DataTablePaginationProps { table: Table } export function DataTablePagination({ table }: DataTablePaginationProps) { return (

Rows per page

Showing {` ${ table.getState().pagination.pageIndex * table.getState().pagination.pageSize + 1 } to ${ (table.getState().pagination.pageIndex + 1) * table.getRowCount() } `} of {table.getRowCount()}
) }