import React from 'react'; import { YStack, XStack } from '@tamagui/stacks'; import { SizableText as Text } from '@tamagui/text'; import { Button } from '@tamagui/button'; import { Sheet } from '@tamagui/sheet'; import { useGuestThemeVariant } from '../lib/guestTheme'; export type FabAction = { key: string; label: string; description?: string; icon?: React.ReactNode; onPress?: () => void; }; type FabActionSheetProps = { open: boolean; onOpenChange: (open: boolean) => void; title: string; actions: FabAction[]; }; export default function FabActionSheet({ open, onOpenChange, title, actions }: FabActionSheetProps) { const { isDark } = useGuestThemeVariant(); if (!open) { return null; } return ( {title} {actions.map((action) => ( ))} ); }