import React from 'react'; import { YStack, XStack } from '@tamagui/stacks'; import { SizableText as Text } from '@tamagui/text'; import { Pressable } from '@tamagui/react-native-web-lite'; import { useTranslation } from 'react-i18next'; type SheetProps = { open: boolean; title: string; onClose: () => void; children: React.ReactNode; footer?: React.ReactNode; /** Optional bottom offset so content sits above the bottom nav/safe-area. */ bottomOffsetPx?: number; }; export function MobileSheet({ open, title, onClose, children, footer, bottomOffsetPx = 88 }: SheetProps) { const { t } = useTranslation('mobile'); if (!open) return null; return (