aboutsummaryrefslogtreecommitdiff
path: root/src/utils/screenDimensions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/screenDimensions.ts')
-rw-r--r--src/utils/screenDimensions.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/screenDimensions.ts b/src/utils/screenDimensions.ts
new file mode 100644
index 00000000..56277ddc
--- /dev/null
+++ b/src/utils/screenDimensions.ts
@@ -0,0 +1,6 @@
+import {Dimensions} from 'react-native';
+
+const {width, height} = Dimensions.get('window');
+
+export const SCREEN_WIDTH = width;
+export const SCREEN_HEIGHT = height;