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 { useAppearance } from '@/hooks/use-appearance'; 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 { resolved } = useAppearance(); const isDark = resolved === 'dark'; if (!open) { return null; } return ( {title} {actions.map((action) => ( ))} ); }