MDK Logo
UI Kitreact-adapterHooks

usePlatform

SSR-safe React hook returning the detected client OS.

SSR-safe React hook returning the detected client OS.

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

Signature

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