about summary refs log tree commit diff
path: root/__mocks__/@gorhom
diff options
context:
space:
mode:
Diffstat (limited to '__mocks__/@gorhom')
-rw-r--r--__mocks__/@gorhom/bottom-sheet.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/__mocks__/@gorhom/bottom-sheet.tsx b/__mocks__/@gorhom/bottom-sheet.tsx
index d6f907a34..31098601e 100644
--- a/__mocks__/@gorhom/bottom-sheet.tsx
+++ b/__mocks__/@gorhom/bottom-sheet.tsx
@@ -6,7 +6,7 @@ const BottomSheetModalContext = React.createContext(null)
 const BottomSheetModalProvider = (props: any) => {
   return <BottomSheetModalContext.Provider {...props} value={{}} />
 }
-class BottomSheet extends React.Component {
+class BottomSheet extends React.Component<{onClose?: () => void}> {
   snapToIndex() {}
   snapToPosition() {}
   expand() {}