@dxos/react-ui
Preparing search index...
hooks/Hooks
usePlatform
Function usePlatform
usePlatform
()
:
undefined
|
"mobile"
|
"desktop"
The ThemeProvider's platform, if the app set one.
Returns
undefined
|
"mobile"
|
"desktop"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/react-ui
Loading...
The ThemeProvider's platform, if the app set one.