| | |
| | | Typography, |
| | | } from '@mui/material'; |
| | | import { formatDistance } from 'date-fns'; |
| | | import { AgvShowDetail } from "./show/AgvShowDetail"; |
| | | import { AgvShowAside } from "./show/AgvShowAside"; |
| | | |
| | | |
| | | export const AgvShow = () => { |
| | |
| | | '& .RaTabbedShowLayout-content': { p: 0 }, |
| | | }} |
| | | > |
| | | <TabbedShowLayout.Tab label="Activity"> |
| | | <TabbedShowLayout.Tab label="DETAIL"> |
| | | <AgvShowDetail /> |
| | | </TabbedShowLayout.Tab> |
| | | </TabbedShowLayout> |
| | | </CardContent> |
| | |
| | | </> |
| | | ) |
| | | } |
| | | |
| | | const AgvShowAside = (props) => { |
| | | const { record, isPending } = useShowContext(); |
| | | |
| | | return (<> |
| | | <h1>{JSON.stringify(record)}</h1> |
| | | </>) |
| | | } |