UNPKG
react-native-panda-ui
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.81
0.1.79
0.1.78
0.1.75
0.1.74
0.1.73
0.1.72
0.1.70
0.1.67
0.1.64
0.1.63
0.1.62
0.1.59
0.1.57
0.1.56
0.1.55
0.1.54
0.1.53
0.1.52
0.1.45
0.1.41
0.1.33
0.1.32
0.1.24
0.1.22
0.1.20
0.1.19
0.1.18
0.1.12
0.1.4
0.1.1
0.1.0
0.0.197
0.0.189
0.0.174
0.0.172
0.0.170
0.0.141
0.0.137
0.0.136
0.0.135
0.0.112
0.0.91
0.0.90
0.0.84
0.0.78
0.0.75
0.0.72
0.0.64
0.0.60
0.0.59
0.0.52
0.0.43
0.0.42
0.0.36
0.0.28
0.0.27
0.0.3
0.0.1
A set of easily styled components to get you started fast
react-native-panda-ui
/
src
/
constants
/
Layout.js
13 lines
(10 loc)
•
220 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Dimensions }
from
'react-native'
;
const
width = Dimensions.
get
(
'window'
).width;
const
height = Dimensions.
get
(
'window'
).height; export
default
{ window: { width, height }, isSmallDevice: width <
375
};