2023-06-26 10:07:12 +00:00
|
|
|
import { Grid } from "@mui/material";
|
|
|
|
|
|
|
|
|
|
type LayoutProps = {
|
|
|
|
|
detail: any;
|
|
|
|
|
edit: any;
|
|
|
|
|
};
|
|
|
|
|
|
2024-11-25 11:48:19 +01:00
|
|
|
export default async function Layout({ detail, edit }: LayoutProps) {
|
2023-06-26 10:07:12 +00:00
|
|
|
return (
|
|
|
|
|
<Grid container spacing={0} sx={{ height: "100vh" }} direction="row">
|
|
|
|
|
<Grid item sx={{ height: "100vh" }} xs={9}>
|
|
|
|
|
{detail}
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid item xs={3} sx={{ height: "100vh" }}>
|
|
|
|
|
{edit}
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
);
|
|
|
|
|
}
|