MDK Logo
ReferenceUI KitReactHooks

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