Closed matiaspompilio closed 9 months ago
The update introduces two new hooks to the @nanlabs
libraries: useScroll
and useOverflow
. These hooks provide additional functionality for managing scroll behaviors and detecting overflow in React components, each accompanied by a story example to demonstrate their usage.
Files | Change Summary |
---|---|
.../playground/useScroll |
Added useScroll hook with a story example. |
.../react-hooks/useOverflow |
Added useOverflow hook with a story example. |
π In the code forest, a new trail, Hooks for scroll and overflow unveil, With stories they come, to guide and regale, A rabbit's work, never frail. πΏπβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
What's this PR do?
New release proposal for useScroll hook, useOverflow hook, and related stories.
@ulises-jeremias @rpmolina
Summary by CodeRabbit
useScroll
hook with an example story.useOverflow
hook with an example story.