mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
convert casino to mui
This commit is contained in:
parent
6d179be018
commit
3aacab504b
@ -4,6 +4,7 @@
|
|||||||
* This subcomponent renders all of the buttons for training at the gym
|
* This subcomponent renders all of the buttons for training at the gym
|
||||||
*/
|
*/
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
|
import Button from "@mui/material/Button";
|
||||||
import { Blackjack } from "../../Casino/Blackjack";
|
import { Blackjack } from "../../Casino/Blackjack";
|
||||||
import { CoinFlip } from "../../Casino/CoinFlip";
|
import { CoinFlip } from "../../Casino/CoinFlip";
|
||||||
import { Roulette } from "../../Casino/Roulette";
|
import { Roulette } from "../../Casino/Roulette";
|
||||||
@ -47,13 +48,13 @@ export class CasinoLocation extends React.Component<IProps, IState> {
|
|||||||
renderGames(): React.ReactNode {
|
renderGames(): React.ReactNode {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<StdButton onClick={() => this.updateGame(GameType.Coin)} text={"Play coin flip"} />
|
<Button onClick={() => this.updateGame(GameType.Coin)}>Play coin flip</Button>
|
||||||
<br />
|
<br />
|
||||||
<StdButton onClick={() => this.updateGame(GameType.Slots)} text={"Play slots"} />
|
<Button onClick={() => this.updateGame(GameType.Slots)}>Play slots</Button>
|
||||||
<br />
|
<br />
|
||||||
<StdButton onClick={() => this.updateGame(GameType.Roulette)} text={"Play roulette"} />
|
<Button onClick={() => this.updateGame(GameType.Roulette)}>Play roulette</Button>
|
||||||
<br />
|
<br />
|
||||||
<StdButton onClick={() => this.updateGame(GameType.Blackjack)} text={"Play blackjack"} />
|
<Button onClick={() => this.updateGame(GameType.Blackjack)}>Play blackjack</Button>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user