import {ReactNode} from "react" import {Grid, Typography} from "@mui/material" export interface SimplePageProps { title: string children: ReactNode subtitle?: string pageOptionsActions?: ReactNode description?: string actions?: ReactNode } export default function SimplePage({ title, subtitle, pageOptionsActions, actions, description, children, }: SimplePageProps): JSX.Element { return ( {title} {subtitle && ( {subtitle} )} {description && ( {description} )} {pageOptionsActions && {pageOptionsActions}} {children} {actions && {actions}} ) }