1.0.8 • Published 7 years ago

width-checker v1.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Width checker

Instalation

yarn add width-checker

or

npm install width-checker

Usage

<WidthChecker widthUp={650} widthBelow={1200}>
  {({ display }) =>
    display && <p>Something you want to show between 650px and 1200px of screen wide</p>
  }
</WidthChecker>

Props

  • wait - time in miliseconds to wait between each debounce tick
  • widthUp - bottom range
  • widthBelow - upper range
1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago