bitburner-src/src/ui/React/ReputationRate.tsx
2022-03-06 05:05:55 +01:00

8 lines
310 B
TypeScript

import React from "react";
import { numeralWrapper } from "../numeralFormat";
import { Reputation } from "./Reputation";
export function ReputationRate({ reputation }: { reputation: number }): React.ReactElement {
return <Reputation reputation={`${numeralWrapper.formatReputation(reputation)} / sec`} />;
}