We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4931c4a commit 57fb2fdCopy full SHA for 57fb2fd
apps/hyperdrive-trading/src/ui/hyperdrive/getRemainingTimeLabel.ts
@@ -1,5 +1,10 @@
1
import { calculateTimeLeft } from "src/base/calculateTimeLeft";
2
3
+/**
4
+ * @param options.maturitySeconds The timestamp in seconds when time runs out
5
+ * @param options.condensed Show condensed labels when showing both hours and minutes
6
+ * @returns string
7
+ */
8
export function getRemainingTimeLabel({
9
maturitySeconds,
10
condensed = false,
0 commit comments