mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
6 lines
225 B
TypeScript
6 lines
225 B
TypeScript
import { isTablet, getDeviceType } from 'react-native-device-info';
|
|
|
|
const isDesktop: boolean = getDeviceType() === 'Desktop';
|
|
|
|
export const isHandset: boolean = getDeviceType() === 'Handset';
|
|
export { isDesktop, isTablet };
|