Skip to main content

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 install @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 install react-native-reanimated

Follow the specific installation instructions for React Native Reanimated here.

npm install 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.