@lms-elements/hooks
TypeScript icon, indicating that this package has built-in type declarations

2.0.23 • Public • Published

@lms-elements/hooks

React hooks that will save your time

Provided hooks

  • useGetHeightStyle
  • useGetOnScrollHandler
  • useGetScrollPosition
  • useOuterClick
  • useOuterClickField
  • useWindowResize

Usage

import { useOuterClickField } from '@lms-elements/hooks';

// code
useOuterClickField(ref, input.onBlur, isBlur);

Readme

Keywords

Package Sidebar

Install

npm i @lms-elements/hooks

Weekly Downloads

32

Version

2.0.23

License

MIT

Unpacked Size

35.1 kB

Total Files

20

Last publish

Collaborators

  • andrey_sharypov
  • don-vadimon
  • y.avdeev