mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-21 01:32:30 +01: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)} h / s`} />;
|
|
}
|