1.0.0 • Published 4 years ago

@dcp-ui/hooks.use-in-viewport v1.0.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
4 years ago

@dcp-ui/hooks.use-in-viewport

The useInViewPort component from @dcp-ui.

desyre npm bundle size License PRs Welcome

Description

Hooks to know if dom element is in viewport.

Installation

yarn add @dcp-ui/hooks.use-in-viewport

Import

import { useInViewPort } from '@dcp-ui/hooks.use-in-viewport'

Documentation

See the documentation or package source for more details.