react-native-game-engine-ex.../game/index.ts

5 lines
164 B
TypeScript
Raw Normal View History

2022-06-25 00:29:43 -05:00
import { Dimensions } from "react-native";
export const windowHeight = Dimensions.get("window").height;
export const windowWidth = Dimensions.get("window").width;