import { useState } from "react"; import { View } from "react-native"; import { Button } from "@/components/ui/Button"; import { Card } from "@/components/ui/Card"; import { Field } from "@/components/ui/Field"; import { Text } from "@/components/ui/Text"; import { colors } from "@/lib/theme"; export function RxQueriedPanel({ pharmacistMessage, customerReply, onReply, }: { pharmacistMessage?: string; customerReply?: string; onReply: (message: string) => void; }) { const [reply, setReply] = useState(customerReply ?? ""); return ( Pharmacist needs clarification {pharmacistMessage || "Please confirm dosage, patient name, or upload a clearer page."} {customerReply ? ( Your reply {customerReply} ) : (