shellphone.app/app/constants/Layout.ts
2021-06-01 23:13:51 +02:00

13 lines
222 B
TypeScript

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,
};