CabinetDetailCard
Read-only LV cabinet detail: powermeter readings, the root plus per-position temperature readings (severity-coloured, with an offline marker), and the active…
Read-only LV cabinet detail: powermeter readings, the root plus per-position temperature readings (severity-coloured, with an offline marker), and the active-warnings timeline. Presentational — shape the rows with {@link useCabinetDetail}.
import { CabinetDetailCard } from "@tetherto/mdk-react-devkit";| Prop | Status | Type | Default | Description |
|---|---|---|---|---|
title | Required | string | — | Cabinet display title (`LV Cabinet 1` / transformer title). |
powerMeters | Required | CabinetReadingRow[] | — | Non-root powermeter reading rows. |
rootTempSensor | Optional | CabinetReadingRow | undefined | — | The cabinet-root temperature reading, when present. |
tempSensors | Required | CabinetReadingRow[] | — | Non-root temperature sensor reading rows. |
alarmsDataItems | Required | TimelineItemData[] | — | Active-warnings timeline items. |
onNavigate | Optional | ((path: string) => void) | undefined | — | Router navigate used by warning rows to deep-link into the alert. |
isLoading | Optional | boolean | undefined | — | Shows a spinner while the cabinet snapshot is loading. |