mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
32 lines
903 B
TypeScript
32 lines
903 B
TypeScript
/**
|
|
* Root React Component for the "Active Scripts" UI page. This page displays
|
|
* and provides information about all of the player's scripts that are currently running
|
|
*/
|
|
import * as React from "react";
|
|
|
|
import { WorkerScript } from "../../Netscript/WorkerScript";
|
|
|
|
type IProps = {
|
|
workerScripts: WorkerScript[];
|
|
}
|
|
|
|
export class ActiveScriptsRoot extends React.Component<IProps, any> {
|
|
constructor(props: IProps) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<>
|
|
<p>
|
|
This page displays a list of all of your scripts that are currently
|
|
running across every machine. It also provides information about each
|
|
script's production. The scripts are categorized by the hostname of
|
|
the servers on which they are running.
|
|
</p>
|
|
|
|
</>
|
|
)
|
|
}
|
|
}
|