import { Button, Divider, Heading, Row, Spacer, View, XIcon } from 'expo-dev-client-components'; import * as React from 'react'; import { useModalStack } from '../providers/ModalStackProvider'; type BaseModalProps = { title?: string; children: React.ReactNode; }; export function BaseModal({ children, title }: BaseModalProps) { const modalStack = useModalStack(); const onClosePress = () => { modalStack.pop(); }; return ( {title} {children} ); }