MDK Logo
ReferenceUI KitReactHooks

useDeviceAction

Entry point for wiring device-control UI (reboot, power mode, LED, socket switches, ...) into the voting/approval workflow: components build a typed submissi…

Entry point for wiring device-control UI (reboot, power mode, LED, socket switches, ...) into the voting/approval workflow: components build a typed submission with the foundation's device-action builders and queue it here. Submission and…

import { useDeviceAction } from "@tetherto/mdk-react-adapter";

Signature

() => UseDeviceActionResult
Package@tetherto/mdk-react-adapter
Requires providerNo