react-native-jigsaw
react-native-jigsaw copied to clipboard
Adjust onSettle index of BottomSheet
trafficstars
Overview
- The callback index returned already mapped to provided point, we don't need to manual map it
Demo
https://github.com/user-attachments/assets/66d8812f-4fa6-466b-bd6d-a28bc1880e4b
| :rocket: | This description was created by Ellipsis for commit f115228d49c1a0ec0fa82697f70993b4842be4f4 |
|---|
Summary:
Updated BottomSheet component to use the index directly in onChange and added logging in BottomSheetExample.
Key points:
- Updated
onChangeinpackages/core/src/components/BottomSheet/BottomSheet.tsxto use the index directly. - Removed manual mapping of index in
onChange. - Added
onSettlecallback inexample/src/BottomSheetExample.tsxto log the new index.
Generated with :heart: by ellipsis.dev
Published version: @draftbit/[email protected]
Published version: @draftbit/[email protected]
Published version: @draftbit/[email protected]
Published version: @draftbit/[email protected]