MDK Logo
UI Kitreact-devkitHooks

useContainerThresholds

Hook that reads and updates the temperature/pressure/power thresholds for a single container. Features: - Load and save container threshold settings - Auto-s…

Hook that reads and updates the temperature/pressure/power thresholds for a single container. Features: - Load and save container threshold settings - Auto-save default thresholds when none exist - Validate and auto-adjust overlapping thresholds - Handle reset to saved/default values

import { useContainerThresholds } from "@tetherto/mdk-react-devkit";

Signature

({ data, onSave, }: UseContainerThresholdsProps) => UseContainerThresholdsReturn
Package@tetherto/mdk-react-devkit