import React from "react"; import { Modal, Pressable, View, Dimensions, ScrollView } from "react-native"; import { Text } from "./ui/text"; import { ScanLine, X, Edit } from "@/lib/icons"; import { useColorScheme } from "nativewind"; const { height: SCREEN_HEIGHT } = Dimensions.get("window"); interface CreateMethodSheetProps { visible: boolean; onClose: () => void; onSelectScan: () => void; onSelectManual: () => void; title?: string; } export function CreateMethodSheet({ visible, onClose, onSelectScan, onSelectManual, title = "Create", }: CreateMethodSheetProps) { const { colorScheme } = useColorScheme(); const isDark = colorScheme === "dark"; return ( e.stopPropagation()} > {title} Scan Capture a photo and auto-fill the form Enter manually Enter all the details yourself ); }