import { BottomSheet, useBottomSheet } from '@/components/ui/bottom-sheet'; import { Button } from '@/components/ui/button'; import { Text } from '@/components/ui/text'; import { View } from '@/components/ui/view'; import { useColor } from '@/hooks/useColor'; import { TouchableOpacity } from 'react-native'; const menuItems = [ { id: 'edit', title: 'Edit', icon: '✏️' }, { id: 'share', title: 'Share', icon: '📤' }, { id: 'copy', title: 'Copy Link', icon: '🔗' }, { id: 'bookmark', title: 'Bookmark', icon: '🔖' }, { id: 'delete', title: 'Delete', icon: '🗑️', destructive: true }, ]; export function BottomSheetMenu() { const { isVisible, open, close } = useBottomSheet(); const textColor = useColor('text'); const destructiveColor = useColor('destructive'); const handleMenuAction = (action: string) => { console.log('Menu action:', action); close(); }; return ( {menuItems.map((item, index) => ( handleMenuAction(item.id)} > {item.icon} {item.title} ))} ); }