0

I got an error No default value

Have used Bottom Sheet library and used it's components as shown below:

BottomSheetModalProvider
BottomSheet 
BottomSheetTextInput
BottomSheetScrollView,
BottomSheetModal,
BottomSheetBackdrop,
BottomSheetDraggableView,
useBottomSheetDynamicSnapPoints

https://gorhom.github.io/react-native-bottom-sheet/usage

"react-native": "^0.67.4",
"@gorhom/bottom-sheet": "^4.4.2",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.3.0",
"react-native-safe-area-context": "^3.4.1",
"react-native-screens": "3.18.0",
"react-native-gesture-handler": "^2.5.0",
"react-native-reanimated": "^2.9.1",

errorImage

App.js

            <SafeAreaProvider>
              <GestureHandlerRootView style={{flex: 1}}>
                <BottomSheetModalProvider>
                  <NavigationContainer ref={navigationRef}>
                    <MainNavigator />
                  </NavigationContainer>
                  {/* GLOBAL FLASH MESSAGE COMPONENT INSTANCE */}
                  <FlashMessage
                    position="top"
                    hideOnPress
                    hideStatusBar
                    autoHide
                    duration={3000}
                  />
                </BottomSheetModalProvider>
              </GestureHandlerRootView>
            </SafeAreaProvider>
Jaydeep Patel
  • 303
  • 2
  • 11

0 Answers0