diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-14 01:12:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 01:12:31 +0300 |
commit | b2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch) | |
tree | acdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /__mocks__ | |
parent | 275fece3e3de0bd09377a33813bcfe35e352874b (diff) | |
download | voidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst |
Add displayName to contexts (#8814)
Diffstat (limited to '__mocks__')
-rw-r--r-- | __mocks__/@gorhom/bottom-sheet.tsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/__mocks__/@gorhom/bottom-sheet.tsx b/__mocks__/@gorhom/bottom-sheet.tsx index dae0d6551..87bbe7d3a 100644 --- a/__mocks__/@gorhom/bottom-sheet.tsx +++ b/__mocks__/@gorhom/bottom-sheet.tsx @@ -1,7 +1,8 @@ -import React, {ReactNode} from 'react' -import {View, ScrollView, Modal, FlatList, TextInput} from 'react-native' +import React, {type ReactNode} from 'react' +import {FlatList, Modal, ScrollView, TextInput, View} from 'react-native' const BottomSheetModalContext = React.createContext(null) +BottomSheetModalContext.displayName = 'BottomSheetModalContext' const BottomSheetModalProvider = (props: any) => { return <BottomSheetModalContext.Provider {...props} value={{}} /> @@ -47,13 +48,13 @@ export {useBottomSheetInternal} export {useBottomSheetDynamicSnapPoints} export { - BottomSheetModalProvider, BottomSheetBackdrop, + BottomSheetFlatList, + BottomSheetFooter, BottomSheetHandle, BottomSheetModal, - BottomSheetFooter, + BottomSheetModalProvider, BottomSheetScrollView, - BottomSheetFlatList, BottomSheetTextInput, } |