import { Grid } from "@mui/material"; type LayoutProps = { detail: any; edit: any; }; export default async function Layout({ detail, edit }: LayoutProps) { return ( {detail} {edit} ); }