import { Card, Paper, TableContainer } from "@mui/material"; import { LaravelPaginatedData } from "../@types/paginated-data"; import BasePagination from "./BasePagination"; type LaravelTableProps = { isLoading: boolean; lastRequest: number; data: LaravelPaginatedData; handlePageChange: void; TableContent: any; }; function LaravelTable(props: LaravelTableProps) { return ( { props.TableContent } { !props.isLoading ? () : (
) }
) } export default LaravelTable