Intro
The @react-native-ama/extras
package offers extra accessible hooks and components which are often used when building react-native apps, such as BottomSheets and Carousels.
Installation
Install the @react-native-ama/extras
package with your favourite package manager:
- npm
- Yarn
- pnpm
npm install @react-native-ama/extras
yarn add @react-native-ama/extras
pnpm add @react-native-ama/extras
Dependencies
Some components rely on react-native-reanimated and/or react-native-gesture-handler, so these dependencies are required for the extras package to function and should 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
.