import { Package, Search } from "lucide-react"; import { Button } from "@edr/ui-common"; import { bookingGlass, bookingSurface } from "./booking-ui.styles"; import { cn } from "@/lib/utils"; interface BookingTableEmptyProps { isError?: boolean; hasSearch?: boolean; onRetry?: () => void; } export function BookingTableEmpty({ isError, hasSearch, onRetry, }: BookingTableEmptyProps) { return (
{hasSearch ? : }

{isError ? "Could not load bookings" : hasSearch ? "No matches on this page" : "No bookings with this status"}

{isError ? "Check your connection and try again." : hasSearch ? "Try a different reference or customer name." : "New customer submissions will appear when status is Submitted."}

{isError && onRetry && ( )}
); }