Update hooks.md
This adds a small example of how to use useBottomSheetDynamicSnapPoints with Scrollables (BottomSheetSectionList is used in the example).
Please provide enough information so that others can review your pull request:
Motivation
I needed this in my app, figured it out, and thought it would be useful for others to know.
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
👋
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
👋 ?
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Leaving a comment to avoid this PR becoming stale.
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
@gorhom Seems like this documentation would be helpful to some!
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Not stale
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Not stale..?
I have no idea why this was closed, this was so helpful - thank you!
Agreed @JoeDareZone , though for anyone finding their way here, there do still exist some edge cases not handled by the docs in this PR, notably with scrollable within the bottom sheet + using snapPoints that don't include "CONTENT_HEIGHT".