import { Typography } from "@mui/material"; interface Props { name?: string; } export default function HelloWorld({ name }: Props) { name ??= "world"; return ( Hello {name} ); }