import { t } from 'i18next';
import { Loader2 } from 'lucide-react';
import { PropsWithChildren } from 'react';
import { TableCell, TableRow } from './ui/table';
type IProps = { columnsLength: number };
function Row({ children, columnsLength }: PropsWithChildren & IProps) {
return (
{children}
);
}
export function TableSkeleton({
columnsLength,
children,
}: PropsWithChildren & IProps) {
return (
{children || (
)}
);
}
export function TableEmpty({ columnsLength }: { columnsLength: number }) {
return {t('common.noResults')}
;
}