import React from "react"; import { GeneralActionPage } from "./GeneralActionPage"; import { ContractPage } from "./ContractPage"; import { OperationPage } from "./OperationPage"; import { BlackOpPage } from "./BlackOpPage"; import { SkillPage } from "./SkillPage"; import { IBladeburner } from "../IBladeburner"; import { IPlayer } from "../../PersonObjects/IPlayer"; import Tabs from "@mui/material/Tabs"; import Tab from "@mui/material/Tab"; import Box from "@mui/material/Box"; interface IProps { bladeburner: IBladeburner; player: IPlayer; } export function AllPages(props: IProps): React.ReactElement { const [value, setValue] = React.useState(0); function handleChange(event: React.SyntheticEvent, tab: number): void { setValue(tab); } return ( <> {value === 0 && } {value === 1 && } {value === 2 && } {value === 3 && } {value === 4 && } ); }