bitburner-src/src/GameOptions/ui/GameOptionsPage.tsx

17 lines
387 B
TypeScript
Raw Normal View History

import { List, Paper, Typography } from "@mui/material";
2022-04-17 19:51:00 +02:00
import React from "react";
interface IProps {
children: React.ReactNode;
2022-04-17 19:51:00 +02:00
title: string;
}
export const GameOptionsPage = (props: IProps): React.ReactElement => {
return (
<Paper sx={{ height: "fit-content", p: 1 }}>
<Typography variant="h6">{props.title}</Typography>
{props.children}
2022-04-17 19:51:00 +02:00
</Paper>
);
};