UNPKG

@vx-oss/use-scroll-position

Version:

Provides the logic to control the scroll over an element

25 lines (16 loc) 512 B
# @vx-oss/use-scroll-position A Quick description of the component > This is an internal utility, not intended for public usage. ## Installation ```sh yarn add @vx-oss/use-scroll-position # or npm i @vx-oss/use-scroll-position ``` ## Contribution Yes please! See the [contributing guidelines](https://github.com/heroui-inc/heroui/blob/master/CONTRIBUTING.md) for details. ## License This project is licensed under the terms of the [MIT license](https://github.com/heroui-inc/heroui/blob/master/LICENSE).