Intro
The @react-native-ama/bottom-sheet package provides an accessible bottom sheet component and supporting hooks for React Native apps.
Installation
Install the @react-native-ama/bottom-sheet package with your favourite package manager:
- npm
- Yarn
- pnpm
npm install @react-native-ama/bottom-sheet
yarn add @react-native-ama/bottom-sheet
pnpm add @react-native-ama/bottom-sheet
Dependencies
The package relies on react-native-reanimated and react-native-gesture-handler, so these must also be installed.
- npm
- Yarn
- pnpm
npm install react-native-reanimated
yarn add react-native-reanimated
pnpm add react-native-reanimated
Follow the specific installation instructions for React Native Reanimated here.
- npm
- Yarn
- pnpm
npm install react-native-gesture-handler
yarn add react-native-gesture-handler
pnpm add react-native-gesture-handler
Follow the specific installation instructions for React Native Gesture Handler here, specifically wrapping the entry point of the app in a GestureHandlerRootView.