mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
buttons should have typograaphy as child
This commit is contained in:
parent
86da356478
commit
6d179be018
@ -70,13 +70,11 @@ export function AugmentationsRoot(props: IProps): React.ReactElement {
|
|||||||
</Typography>
|
</Typography>
|
||||||
<Box mx={2}>
|
<Box mx={2}>
|
||||||
<Tooltip title={"'I never asked for this'"}>
|
<Tooltip title={"'I never asked for this'"}>
|
||||||
<Button onClick={props.installAugmentationsFn}>
|
<Button onClick={props.installAugmentationsFn}>Install Augmentations</Button>
|
||||||
<Typography>Install Augmentations</Typography>
|
|
||||||
</Button>
|
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip title={"It's always a good idea to backup/export your save!"}>
|
<Tooltip title={"It's always a good idea to backup/export your save!"}>
|
||||||
<Button sx={{ mx: 2 }} onClick={doExport}>
|
<Button sx={{ mx: 2 }} onClick={doExport} color="error">
|
||||||
<Typography color="error">Backup Save {exportBonusStr()}</Typography>
|
Backup Save {exportBonusStr()}
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<PurchasedAugmentations />
|
<PurchasedAugmentations />
|
||||||
|
@ -41,9 +41,5 @@ export function PurchaseButton(props: IProps): React.ReactElement {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return <Button onClick={props.onClick}>{text}</Button>;
|
||||||
<Button onClick={props.onClick}>
|
|
||||||
<Typography>{text}</Typography>
|
|
||||||
</Button>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
@ -154,9 +154,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement {
|
|||||||
</TableBody>
|
</TableBody>
|
||||||
</Table>
|
</Table>
|
||||||
|
|
||||||
<Button onClick={logClickHandler}>
|
<Button onClick={logClickHandler}>LOG</Button>
|
||||||
<Typography>LOG</Typography>
|
|
||||||
</Button>
|
|
||||||
<IconButton onClick={killScriptClickHandler}>
|
<IconButton onClick={killScriptClickHandler}>
|
||||||
<DeleteIcon color="error" />
|
<DeleteIcon color="error" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
Loading…
Reference in New Issue
Block a user