-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
41 lines (37 loc) · 784 Bytes
/
index.ts
File metadata and controls
41 lines (37 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import useScale from './toolkit/ueScale';
import useDetectDevice from './toolkit/useDetectDevice';
import { useDeviceOrientation } from './toolkit/useDeviceOrientation';
import useBackHandler from './toolkit/useBackHandler';
import useAppState from './toolkit/useAppState';
import useValidation from './toolkit/useValidation';
import useArray from './toolkit/useArray';
const {
deviceInch,
hasNotch,
height,
isAndroid,
isIOS,
isSmallDevice,
isTablet,
width
} = useDetectDevice;
const { fontScale, scale } = useScale;
export {
useDetectDevice,
useScale,
useDeviceOrientation,
useBackHandler,
useAppState,
useValidation,
useArray,
deviceInch,
hasNotch,
height,
isAndroid,
isIOS,
isSmallDevice,
isTablet,
width,
fontScale,
scale,
};