import { MessageSquareText } from "lucide-react"; import { EmptyState } from "../../../components/ui/empty-state"; import { Button } from "../../../components/ui/button"; interface Props { /** A read behind the list failed, so an empty list is unknown. */ failed: boolean; /** A read behind the list has not answered yet. */ loading: boolean; searchTerm: string; onRetry: () => void; } /** What an empty Providers list says: failed, still loading, no match, or truly none. */ export const ProvidersListStatus = ({ failed, loading, searchTerm, onRetry }: Props) => { if (failed) { return (

Your practices and providers could not be loaded just now.

); } if (loading) { return

Loading your providers…

; } return ( // The shared empty state, matching the conversations panel on the same screen.
); }; export default ProvidersListStatus;