/** * A hook that tracks the window dimensions. * Automatically updates when the window is resized. * * @returns An object with width and height of the window * * @example * ```tsx * const { width, height } = useWindowSize() * * return ( *