import { ChevronLeft, ChevronRight } from "lucide-react"; import { Button } from "../ui/button"; import type { DateTime } from "luxon"; import DatePickerWithRange from "./date-picker"; export default function DayNavigation({ startDate, setStartDate, }: { startDate: DateTime; setStartDate: (date: DateTime) => void; }) { const handlePreviousDay = () => { const previousDay = startDate.minus({ days: 1 }); setStartDate(previousDay); }; const handleNextDay = () => { const nextDay = startDate.plus({ days: 1 }); setStartDate(nextDay); }; return (
); }