import { AlertCircle, Clock, FileText, UserCheck, } from "lucide-react"; import { Grid, Stack } from "@mantine/core"; import { BOOKING_STATUS_META } from "@/features/bookings/booking-status.config"; import type { IOverviewBookingsTab } from "@/types/overview"; import { OverviewBookingTrendChart } from "../OverviewBookingTrendChart"; import { OverviewDonutChart } from "../OverviewDonutChart"; import { OverviewHorizontalBarChart } from "../OverviewHorizontalBarChart"; import { OverviewKpiStrip } from "../OverviewKpiStrip"; import { OverviewRecentBookingsTable } from "../OverviewRecentBookingsTable"; import { OverviewStatusChart } from "../OverviewStatusChart"; interface OverviewBookingsTabPanelProps { data: IOverviewBookingsTab; } export function OverviewBookingsTabPanel({ data }: OverviewBookingsTabPanelProps) { return ( ({ name: BOOKING_STATUS_META[item.status]?.title ?? item.status, value: item.count, }))} emptyMessage="No bookings yet" /> ({ label: item.label, value: item.count, }))} valueLabel="Bookings" /> ({ name: item.label, value: item.count, }))} /> ); }