Universal DevTools Kit SDK / @u-devtools/utils / getStatusColor
Function: getStatusColor()
getStatusColor(
status?):StatusColor
Defined in: colors.ts:12
Gets a color based on HTTP status code.
Parameters
| Parameter | Type | Description |
|---|---|---|
status? | number | HTTP status code |
Returns
Color name for the status