mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-10-23 10:13:13 +02:00
12 lines
357 B
TypeScript
12 lines
357 B
TypeScript
|
import React from "react";
|
||
|
import Typography from "@mui/material/Typography";
|
||
|
|
||
|
import { useRerender } from "../../ui/React/hooks";
|
||
|
import { Terminal } from "../../Terminal";
|
||
|
|
||
|
export function TerminalActionTimer(): React.ReactElement {
|
||
|
useRerender(200);
|
||
|
|
||
|
return <Typography color="primary">{Terminal.action && Terminal.getProgressText()}</Typography>;
|
||
|
}
|