@goodnight-dev/react-hooks
    Preparing search index...

    Interface WindowSize

    interface WindowSize {
        height: number | undefined;
        width: number | undefined;
    }
    Index
    height: number | undefined

    The viewport height in CSS pixels, or undefined before the client has reported its actual size (always the case during SSR).

    width: number | undefined

    The viewport width in CSS pixels, or undefined before the client has reported its actual size (always the case during SSR).