title: useWindowDimensions use in stylesheet react native
body: <p>How to use useWindowDimensions in Stylesheet. It always works only inside the function. I want to get screen height and width using useWindowDimensions inside the stylesheet in react native.</p>