Created a new Expo app

This commit is contained in:
2021-03-29 10:09:41 +07:00
commit edc91f9845
29 changed files with 30411 additions and 0 deletions

12
constants/Layout.ts Normal file
View File

@@ -0,0 +1,12 @@
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,
};