import React from "react"; import { Modal, View, Pressable, ScrollView, KeyboardAvoidingView, Platform, } from "react-native"; interface BottomSheetProps { visible: boolean; onClose: () => void; children: React.ReactNode; dismissOnBackdropPress?: boolean; maxHeightRatio?: number; } const BottomSheet: React.FC = ({ visible, onClose, children, dismissOnBackdropPress = true, maxHeightRatio = 0.9, }) => { if (!visible) return null; return ( {children} ); }; export default BottomSheet;