2023-09-05 11:19:25 +00:00
|
|
|
import { Paper, Typography } from "@mui/material";
|
|
|
|
import { PropsWithChildren } from "react";
|
|
|
|
|
|
|
|
export function VirtWebPaper(
|
|
|
|
p: { label: string } & PropsWithChildren
|
|
|
|
): React.ReactElement {
|
|
|
|
return (
|
2023-09-05 14:12:20 +00:00
|
|
|
<Paper elevation={2} style={{ padding: "10px", margin: "20px" }}>
|
2023-09-05 11:19:25 +00:00
|
|
|
<Typography
|
|
|
|
variant="subtitle1"
|
|
|
|
style={{ marginBottom: "10px", fontWeight: "bold" }}
|
|
|
|
>
|
|
|
|
{p.label}
|
|
|
|
</Typography>
|
|
|
|
{p.children}
|
|
|
|
</Paper>
|
|
|
|
);
|
|
|
|
}
|