Files
nginx-proxy-manager/frontend/src/components/Table/EmptyRow.tsx
Jamie Curnow fadec9751e React
2025-10-02 08:10:42 +10:00

17 lines
345 B
TypeScript

import type { Table as ReactTable } from "@tanstack/react-table";
interface Props {
tableInstance: ReactTable<any>;
}
function EmptyRow({ tableInstance }: Props) {
return (
<tr>
<td colSpan={tableInstance.getVisibleFlatColumns().length}>
<p className="text-center">There are no items</p>
</td>
</tr>
);
}
export { EmptyRow };