Function useWindowSize

Returns the size of the window.

  • Type Parameters

    • Size extends ISize = ISize

      The type of the size object.

    Parameters

    • Optionaloptions: Partial<IParams<Size>> = {}

      Optional configuration options.

    Returns Size

    The size of the window.