usePosition icon indicating copy to clipboard operation
usePosition copied to clipboard

React hook for get position of element

Results 3 usePosition issues
Sort by recently updated
recently updated
newest added

Hi there. I can't seem to find this package on npm. 😢

it receives ref variable from useRef but type declaration file doesn't have argument at all.

Hi, I think this https://github.com/tranbathanhtung/usePosition/blob/master/index.js#L25 should be ``` return { top: rect.top + winY, left: rect.left + winX, }; ```