📌  相关文章
📜  react-native 如何获取屏幕大小 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:17.011000             🧑  作者: Mango

代码示例1
import { Dimensions } from 'react-native';

dimensions: {
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
}