mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-23 06:33:10 +01:00
17 lines
345 B
TypeScript
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 };
|