mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-11 15:57:33 +01:00
more elements around
This commit is contained in:
parent
500063e87e
commit
528a8f30db
@ -6,6 +6,7 @@ import { IStaneksGift } from "../IStaneksGift";
|
|||||||
import { Cell } from "./Cell";
|
import { Cell } from "./Cell";
|
||||||
import { FragmentInspector } from "./FragmentInspector";
|
import { FragmentInspector } from "./FragmentInspector";
|
||||||
import { FragmentSelector } from "./FragmentSelector";
|
import { FragmentSelector } from "./FragmentSelector";
|
||||||
|
import Box from "@mui/material/Box";
|
||||||
import Button from "@mui/material/Button";
|
import Button from "@mui/material/Button";
|
||||||
import TableRow from "@mui/material/TableRow";
|
import TableRow from "@mui/material/TableRow";
|
||||||
import TableBody from "@mui/material/TableBody";
|
import TableBody from "@mui/material/TableBody";
|
||||||
@ -131,12 +132,14 @@ export function Grid(props: GridProps): React.ReactElement {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<Button onClick={clear}>Clear</Button>
|
||||||
|
<Box display="flex">
|
||||||
<Table>
|
<Table>
|
||||||
<TableBody>{elems}</TableBody>
|
<TableBody>{elems}</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
<FragmentSelector gift={props.gift} selectFragment={updateSelectedFragment} />
|
|
||||||
<Button onClick={clear}>Clear</Button>
|
|
||||||
<FragmentInspector gift={props.gift} x={pos[0]} y={pos[1]} fragment={props.gift.fragmentAt(pos[0], pos[1])} />
|
<FragmentInspector gift={props.gift} x={pos[0]} y={pos[1]} fragment={props.gift.fragmentAt(pos[0], pos[1])} />
|
||||||
|
</Box>
|
||||||
|
<FragmentSelector gift={props.gift} selectFragment={updateSelectedFragment} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user