You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Press back android to close Bottom Sheet (Android only)
true
onClose
function
Callback function when Bottom Sheet has closed
null
customStyles
object
Custom style to Bottom Sheet
{}
Available Custom Style
customStyles: {
wrapper: {...}, // The Root of Component (You can change the `backgroundColor` or any styles)
container: {...}, // The Container of Bottom Sheet
draggableIcon: {...} // The Draggable Icon (If you set closeOnDragDown to true)
}
Methods
Method Name
Description
open
Open Bottom Sheet
close
Close Bottom Sheet
Note
If you combind RBSheet with react-native-gesture-handler, the components inside RBSheet will not fire onPress event on Android #37.
The demo source codes are in example folder.
License
This project is licensed under the MIT License - see the LICENSE.md file for details