react-popper-tooltip
react-popper-tooltip copied to clipboard
Typescript error when using `getTooltipProps` in a div
Describe the bug
Typescript error when using getTooltipProps in a div.
To Reproduce Steps to reproduce the behavior:
- Use the returned value of
getTooltipPropsand use it in a div. - Then you will TS error.
Typesctipt: 4.4.3 reaact: 16.9.0 @types/react: 16.14.15 csstype: 3.0.9
Expected behavior No Typescript errors.
Screenshots

Desktop (please complete the following information):
- OS: Mac OS Monterrey
- Browser chrome
- Version 95.0.4638.69
I'm facing this exact same issue right now. Initially I thought it might be due to my implementation or incorrect usage of this library, however when trying to convert the basic example provided here in the docs I get the exact same error.
Hi, could you please check if this same happens with v4.4.0?
Closing as per https://github.com/mohsinulhaq/react-popper-tooltip/issues/140#issuecomment-1268159587