use-react-breakpoint

This is a package with use-breakpoint. It allows to get window's current breakpoint: xs, sm, md, etc.

Browse on unpkg