useWindowDimensions is the preferred API for React components. Unlike Dimensions, it updates as the window's dimensions update.
確定! 回上一頁