import { Modal, TouchableOpacity, View } from 'react-native'; import { Button, Icon, Text } from '../components'; import { tw } from '../core'; interface BottomModalProps { visible?: boolean; children: React.ReactNode; title?: string; onClose?: () => void; } export function BottomModal({ visible, children, title, onClose }: BottomModalProps) { return ( {title ? ( {title} ) : null} {onClose ? (