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

1.0.0 • Public • Published

@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.

Package Sidebar

Install

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

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.73 kB

Total Files

5

Last publish

Collaborators

  • iam-merlin