1.0.8 • Published 5 years ago

width-checker v1.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago