mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 13:55:14 +00: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 };
|