@react-awesome/use-breakpoint
v1.0.0
Published
useBreakpoint triggers callback when a container's size is equal to one specific breakpoint.
Downloads
3,840
Maintainers
Readme
@react-awesome/use-breakpoint
useBreakpoint returns the current breakpoint of a element, contains useful utilities to work with user-defined breakpoints and automatically triggers callback when the element's size is equal to a specific breakpoint.
Please refer to the documentation for more information.
Installation
yarn add @react-awesome/use-breakpoint
# or
npm i @react-awesome/use-breakpoint
Contribution
Yes please! See the contributing guidelines for details.
Licence
This project is licensed under the terms of the MIT license.