Custom hook that returns the dimensions of the window.
An object containing the width and height of the window.
Custom hook that returns the dimensions of the window.