@lms-elements/hooks
v2.0.23
Published
Custom React hooks
Downloads
177
Readme
@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);