MDK Logo
UI Kitreact-adapterHooks

useGetAvailableDevices

Pure projector turning a flat device list (or the `/auth/list-things` nested shape) into the two type-buckets the device-explorer toolbar needs.

Pure projector turning a flat device list (or the `/auth/list-things` nested shape) into the two type-buckets the device-explorer toolbar needs.

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

Signature

({ data, }: UseGetAvailableDevicesOptions) => AvailableDevices
Package@tetherto/mdk-react-adapter
Requires providerNo