mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 02:09:10 +01:00
7 lines
225 B
TypeScript
7 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 };
|