Bottom Sheet
A bottom sheet helps people perform a scoped task that's closely related to their current context.
Installation
1
Run the following command:
npx nwui-cli@latest add bottom-sheet
2
Edit _layout.tsx
Next, wrap your root component with a GestureHandlerRootView (with a style of flex: 1) and a BottomSheetModalProvider.
🚀
1
Add the following dependencies to your project:
npx expo install @gorhom/bottom-sheet react-native-gesture-handler
2
Edit _layout.tsx
Next, wrap your root component with a GestureHandlerRootView (with a style of flex: 1) and a BottomSheetModalProvider.
3
Copy/paste the following code to the specified file path:
🚢
Usage
© Ronin Technologies LLC 2024