"use client" import { ChevronLeftIcon, ChevronRightIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon } from "@radix-ui/react-icons" import type { Table } from "@tanstack/react-table" 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) { return (
{table.getFilteredSelectedRowModel().rows.length} de {table.getFilteredRowModel().rows.length} linha(s) selecionada(s).

Linhas por página

Página {table.getState().pagination.pageIndex + 1} de {table.getPageCount()}
) }