(balance: number | null)
| 59 | * @deprecated Use getThresholdInfo(balance).colorLevel instead |
| 60 | */ |
| 61 | export function getBannerColorLevel(balance: number | null): BannerColorLevel { |
| 62 | return getThresholdInfo(balance).colorLevel |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Generates loading text for the usage banner while data is being fetched. |
no test coverage detected