import React from "react"; import { Datagrid, DateField, List, NumberField, Pagination, ReferenceField, Show, Tab, TabbedShowLayout, TextField, useTranslate, } from "react-admin"; import PageviewIcon from "@mui/icons-material/Pageview"; import ViewListIcon from "@mui/icons-material/ViewList"; const date_format = { year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", }; const ReportPagination = props => ( ); export const ReportShow = props => { const translate = useTranslate(); return ( } > } path="detail" > ); }; export const ReportList = ({ ...props }) => { return ( } sort={{ field: "received_ts", order: "DESC" }} bulkActionButtons={false} > ); };