Skip to content

Commit 57fb2fd

Browse files
committed
Add docblock
1 parent 4931c4a commit 57fb2fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/hyperdrive-trading/src/ui/hyperdrive/getRemainingTimeLabel.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import { calculateTimeLeft } from "src/base/calculateTimeLeft";
22

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+
*/
38
export function getRemainingTimeLabel({
49
maturitySeconds,
510
condensed = false,

0 commit comments

Comments
 (0)