useBeepSound
Plays a repeating beep sound at a configurable interval.
Plays a repeating beep sound at a configurable interval.
import { useBeepSound } from "@tetherto/mdk-react-adapter";Signature
({ isAllowed = DEFAULTS.IS_ALLOWED, volume = DEFAULTS.VOLUME, delayMs = DEFAULTS.DELAY_MS, }: UseBeepSoundOptions = {}) => void| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useAuthToken
Reads `?authToken=…` from `window.location.search`, persists it into the headless `authStore`, and strips the parameter from the URL via `history.replaceStat…
useCabinetDetail
Reads the selected LV cabinet from `devicesStore`, re-fetches its family of powermeters and temperature sensors by root (@link useCabinetDevices) at the real…