You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am building a wrapper hook which implements the useScroll and useInView hooks. My custom hook accepts the parameters for each of those hooks. While the UseInViewOptions interface is exposed, UseScrollOptions is not.
I believe it would be beneficial to those using Typescript to have access to the UseScrollOptions interface. This change would also increase consistency with an established pattern, such as with useInView and UseInViewOptions.
Describe the solution you'd like
Include the UseScrollOptions interface in exports.
I'd like to make a contribution to add this export and will create a pull request.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am building a wrapper hook which implements the useScroll and useInView hooks. My custom hook accepts the parameters for each of those hooks. While the UseInViewOptions interface is exposed, UseScrollOptions is not.
I believe it would be beneficial to those using Typescript to have access to the UseScrollOptions interface. This change would also increase consistency with an established pattern, such as with useInView and UseInViewOptions.
Describe the solution you'd like
Include the UseScrollOptions interface in exports.
I'd like to make a contribution to add this export and will create a pull request.
The text was updated successfully, but these errors were encountered: