ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.42k stars 119 forks source link

Make snap behavior more flexible. Update routing documentation. #281

Closed seanpcoyle closed 9 months ago

seanpcoyle commented 1 year ago

Respect 0 snap if explicitly provided

Currently, there's no way to specify a snap of 0 when navigating, since we revert to the default values by virtue of an ||. This change allows a snap value of 0 to be preserved if provided by the user.

Update useRouter/useSheetRouter documentation

useSheetRouter is no longer exported, but the documentation still references it. From the looks of it, this should actually be useSheetRouter.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
rnas ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 17, 2023 at 6:28PM (UTC)