(current: any)
| 812 | : format(power, { lowerExp: -2, upperExp: 2 }) + " W" |
| 813 | }`; |
| 814 | const formatCurrent = (current: any) => |
| 815 | `${ |
| 816 | current < 1 |
| 817 | ? round(unit(Number(current), "A").toNumeric("mA")) + " mA" |
| 818 | : format(current, { lowerExp: -2, upperExp: 2 }) + " A" |
| 819 | }`; |
| 820 | const formatFrequency = (frequency: any) => |
| 821 | `${ |
| 822 | frequency < 1 |