First, Thanks for this awesome library. However, I'm a little bit stuck about something. I'm currently showing the bottom sheet on press on something then inside it, I have something a close button which I want it to close the bottom sheet. So please how can I achieve it?
@PatrissolJuns The snapPoints are the "position" of the bottomSheet at the moment. For example if you have snapPoints={[0, 200]}:
bottomSheetRef.current.snapTo(1)bottomSheetRef.current.snapTo(0)Thanks. It worked!
Most helpful comment
@PatrissolJuns The snapPoints are the "position" of the bottomSheet at the moment. For example if you have
snapPoints={[0, 200]}:bottomSheetRef.current.snapTo(1)bottomSheetRef.current.snapTo(0)