import { type Component, For, Show } from "solid-js"; import type { Patient } from "@/api/therapist"; interface PatientSelectorProps { patients: Patient[] | undefined; loading: boolean; selectedPatientId: number | null; onPatientChange: (patientId: number | null) => void; } const PatientSelector: Component = (props) => (
Loading patients...
} >
); export default PatientSelector;