mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-04 11:50:09 +00:00
21 lines
641 B
TypeScript
21 lines
641 B
TypeScript
import type { Table as ReactTable } from "@tanstack/react-table";
|
|
import { Button } from "src/components";
|
|
import { intl } from "src/locale";
|
|
|
|
interface Props {
|
|
tableInstance: ReactTable<any>;
|
|
}
|
|
export default function Empty({ tableInstance }: Props) {
|
|
return (
|
|
<tr>
|
|
<td colSpan={tableInstance.getVisibleFlatColumns().length}>
|
|
<div className="text-center my-4">
|
|
<h2>{intl.formatMessage({ id: "streams.empty" })}</h2>
|
|
<p className="text-muted">{intl.formatMessage({ id: "empty-subtitle" })}</p>
|
|
<Button className="btn-blue my-3">{intl.formatMessage({ id: "streams.add" })}</Button>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
);
|
|
}
|