useResponsive

A hooks for getting responsive information

Example

returnDescriptionTypeDefault
largerBreakpoints with statement that larger than current window width{2xl: boolean, xl: boolean, lg: boolean, md: boolean, sm: boolean, xs: boolean}-
smallerBreakpoints with statement that smaller than current window width{2xl: boolean, xl: boolean, lg: boolean, md: boolean, sm: boolean, xs: boolean}-
windowWidthCurrent window widthnumber-