diff --git a/src/BottomSheetView.tsx b/src/BottomSheetView.tsx index cc6f6c9..4c327e2 100644 --- a/src/BottomSheetView.tsx +++ b/src/BottomSheetView.tsx @@ -2,7 +2,6 @@ import { BottomSheetModal, BottomSheetModalProps, BottomSheetModalProvider, - BottomSheetView as RNBottomSheetView, } from '@gorhom/bottom-sheet'; import { ParamListBase, useTheme } from '@react-navigation/native'; import * as React from 'react'; @@ -90,11 +89,7 @@ function BottomSheetModalScreen({ onDismiss={onDismiss} {...props} > - {enableDynamicSizing ? ( - {children as React.ReactNode} - ) : ( - children - )} + {children} ); }