mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-10-23 10:13:13 +02:00
8 lines
258 B
TypeScript
8 lines
258 B
TypeScript
import React from "react";
|
|
import { numeralWrapper } from "../numeralFormat";
|
|
import { Money } from "./Money";
|
|
|
|
export function MoneyRate({ money }: { money: number }): JSX.Element {
|
|
return <Money money={`${numeralWrapper.formatMoney(money)} / sec`} />;
|
|
}
|