Optionaloptions: Partial<IParams<Size>>Optional configuration options.
The delay in milliseconds for debouncing the resize event. Default is RESIZE_DEBOUNCE.
A function that computes the size object from the window size. Default is (size) => size as Size.
A callback function to be called when the window size changes.
The size of the window.
Returns the size of the window.