mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 20:37:05 +02:00
8 lines
291 B
TypeScript
8 lines
291 B
TypeScript
import React from "react";
|
|
import { numeralWrapper } from "../../ui/numeralFormat";
|
|
import { Hashes } from "../../ui/React/Hashes";
|
|
|
|
export function HashRate({ hashes }: { hashes: number }): React.ReactElement {
|
|
return <Hashes hashes={`${numeralWrapper.formatHashes(hashes)} / sec`} />;
|
|
}
|