useContainerWidgetsData
Site Overview data hook: composes the container inventory + realtime miner aggregate (@link useContainerWidgets) with the per-model thresholds (@link useCont…
Site Overview data hook: composes the container inventory + realtime miner aggregate ({@link useContainerWidgets}) with the per-model thresholds ({@link useContainerSettings}) and shapes them into the card-ready `ContainerWidgetItem[]` the `<ContainerWidgets>` grid renders. All aggregate-field slicing and alarm math lives in `@tetherto/mdk-ui-foundation`; this hook only formats display values and selects card props.
import { useContainerWidgetsData } from "@tetherto/mdk-react-devkit";Signature
(options?: UseContainerWidgetsOptions) => UseContainerWidgetsDataResult| Package | @tetherto/mdk-react-devkit |
useContainerWidgets
Data source for the Site Overview Container Widgets grid: the container inventory (one card per container) plus the latest per-miner realtime aggregate sampl…
useContextualModal
Headless open/close state for a modal that needs to remember the subject it was opened against (the row being edited, the device being inspected, etc.).