2.0.0-alpha.1 • Published 5 years ago

@react-md/sizing v2.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@react-md/sizing

Create resize listeners for watching your entire app's size or a specific element. This package will export components as well as some hooks to listen to these events.

Exported components:

  • AppSizeListener
  • ResizeListener
  • ResizeObserver
  • MobileOnly
  • PhoneOnly
  • TabletOnly
  • DesktopOnly

Installation

$ npm install --save @react-md/sizing

Documentation

You should check out the full documentation for live examples and more customization information, but an example usage is shown below.