Skip to content

Commit 20e7f4f

Browse files
committed
fix: use BottomSheetModalProps instead of BottomSheetProps
1 parent ed95d9f commit 20e7f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { BottomSheetProps } from '@gorhom/bottom-sheet';
1+
import type { BottomSheetModalProps } from '@gorhom/bottom-sheet';
22
import type {
33
DefaultNavigatorOptions,
44
Descriptor,
@@ -64,7 +64,7 @@ export type BottomSheetNavigationHelpers = NavigationHelpers<
6464
export type BottomSheetNavigationConfig = {};
6565

6666
export type BottomSheetNavigationOptions = Omit<
67-
BottomSheetProps,
67+
BottomSheetModalProps,
6868
// Remove some props that aren't useful as navigation options.
6969
| 'containerHeight'
7070
| 'snapPoints'

0 commit comments

Comments
 (0)