import React, {ReactNode} from 'react' import {View, ScrollView, Modal, FlatList, TextInput} from 'react-native' const BottomSheetModalContext = React.createContext(null) const BottomSheetModalProvider = (props: any) => { return } class BottomSheet extends React.Component<{ onClose?: () => void children?: ReactNode }> { snapToIndex() {} snapToPosition() {} expand() {} collapse() {} close() { this.props.onClose?.() } forceClose() {} render() { return {this.props.children} } } const BottomSheetModal = (props: any) => const BottomSheetBackdrop = (props: any) => const BottomSheetHandle = (props: any) => const BottomSheetFooter = (props: any) => const BottomSheetScrollView = (props: any) => const BottomSheetFlatList = (props: any) => const BottomSheetTextInput = (props: any) => const useBottomSheet = jest.fn() const useBottomSheetModal = jest.fn() const useBottomSheetSpringConfigs = jest.fn() const useBottomSheetTimingConfigs = jest.fn() const useBottomSheetInternal = jest.fn() const useBottomSheetDynamicSnapPoints = jest.fn() export {useBottomSheet} export {useBottomSheetModal} export {useBottomSheetSpringConfigs} export {useBottomSheetTimingConfigs} export {useBottomSheetInternal} export {useBottomSheetDynamicSnapPoints} export { BottomSheetModalProvider, BottomSheetBackdrop, BottomSheetHandle, BottomSheetModal, BottomSheetFooter, BottomSheetScrollView, BottomSheetFlatList, BottomSheetTextInput, } export default BottomSheet