import type { Table as ReactTable } from "@tanstack/react-table"; import { Button } from "src/components"; import { T } from "src/locale"; interface Props { tableInstance: ReactTable; onNew?: () => void; isFiltered?: boolean; } export default function Empty({ tableInstance, onNew, isFiltered }: Props) { return (
{isFiltered ? (

) : ( <>

)}
); }