import { ChevronLeftIcon, ChevronRightIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon } from '@radix-ui/react-icons' import { Table } from '@tanstack/react-table' import { Button } from '@/components/ui/button' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select' import { useTranslation } from 'react-i18next' interface DataTablePaginationProps { table: Table } export function DataTablePagination({ table }: DataTablePaginationProps) { const { t } = useTranslation() return (

{t('table.pagination.rowsPerPage')}

{t('table.pagination.page', { current: table.getState().pagination.pageIndex + 1, total: table.getPageCount() })}
) }